write a program in Java to display the following menu for user selection:
circle menu
1- calculate diameter
2- calculate circumference
3- calculate area
4- exit
enter your choice
* if the user has selected option 1,2,or 3 ask for the radius input, compute and display the relevant measure
* if the user has selected option 4 exit the program.
Answers
Answered by
0
Answer:
Explanation:In this tutorial we will see how to calculate area and circumference of circle in Java. ... 1) With user interaction: Program will prompt user to enter the radius of the circle 2) Without user interaction: The radius value would be specified in the program ... public static void main(String args[]) { int radius = 3; double area = Math.
Answered by
4
Answer:
make me BRAINList and give like this
Attachments:
Similar questions