Method System.out.printf() prints formatted text, Math.PI is a constant for PI number and correct format string is %6.4f which stands for "Print a floating point number prepending spaces to occupy not less then 6 characters with precision of 4 numbers after dot."
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати