You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write an application that inputs from the user the radius of a circle as an integer and prints the circle’s diameter, circumference and area using the floating-point value 3.14159 for π.
Note: You may also use the predefined constant Math.PI for the value of π. This constant is more precise than the value 3.14159.
The text was updated successfully, but these errors were encountered:
Write an application that inputs from the user the radius of a circle as an integer and prints the circle’s diameter, circumference and area using the floating-point value 3.14159 for π.
Note: You may also use the predefined constant Math.PI for the value of π. This constant is more precise than the value 3.14159.
The text was updated successfully, but these errors were encountered: