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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!