Answered step by step
Verified Expert Solution
Question
1 Approved Answer
must separate the operation class from the driver class as required; must use JOptionPane for all input and output, Must prompt user to enter continue
must separate the operation class from the driver class as required; must use JOptionPane for all input and output, Must prompt user to enter "continue (y)?" or message for stop. Code in eclipse and include comment lines please!! thank you so much!
Part I: Write an operalass that can display a menu option using JOptionPwith 3 choices as 1. Convert temperature from Celsius to Fahrenheit 2. Convert temperature from Fahrenheit to Celsius 3. Quit Refer to the example in Section 3.4.5 in the text to help you writing this class. 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. Part II: Modify Part I so it prompts the menu to user continuously to enter a choice until the Quit option is selected. Your program will continue to run until the user wants to quit the program. Finally, double check if you properly used the naming conventions, comment lines, and documentation in the code. You may combine these two parts and submit it as one projectStep 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