Question
Create a menu-driven Java application that solves several math problems. The user will select a number, and the program will respond with a necessary data.
Create a menu-driven Java application that solves several math problems. The user will select a number, and the program will respond with a necessary data. When the user enters option 5, the program will end. Below is sample output for the program:
What would you like me to do?
1. Calculate area of a circle?
2. Convert Fahrenheit temperature to Celsius?
3. Convert miles to kilometer?
4. Convert inches to centimeter?
5. Exit program?
Please enter your option:
1 Enter the radius of a circle: 1.0
The area of a circle with radius 1.0 is 3.142
What would you like me to do?
1. Calculate area of a circle?
2. Convert Fahrenheit temperature to Celsius?
3. Convert miles to kilometer?
4. Convert inches to centimeter?
5. Exit program?
Please enter your option: 5
Good bye!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started