Question: in java write a program to satisfy the a and b requirements: a). Write an operation class that can display a menu option using JOptionPane

in java write a program to satisfy the a and b requirements:

a). Write an operation class that can display a menu option using JOptionPane with 3 choices as 1. Convert the temperature from Celsius to Fahrenheit 2. Convert the temperature from Fahrenheit to Celsius 3. Quit. Search the formulas for these two temperature conversions. All inputs and outputs must be displayed in use of JOptionPane. Also, write a separate driver program to test your conversions. Finally, double-check if you properly used the naming conventions, comment lines, and documentation in the code.

b).modify part a so it prompts the menu to user continuously to enter a choice until the quit option is selected. the program will continue to run until the user wants to quit the program.

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!