Question: ECLIPSE PROGRAM Write a program that preforms the following conversions: -feet to meters -meters to feet -Celsius to Fahrenheit -Fahrenheit to Celsius Include in your

ECLIPSE PROGRAM

Write a program that preforms the following conversions:

-feet to meters

-meters to feet

-Celsius to Fahrenheit

-Fahrenheit to Celsius

Include in your code the following methods:

main() : loops through:

? ask the user for their choice (call menu)

? switch on their choice and call the appropriate method to do the conversion.

until they choose to quit

menu() : a method that displays a menu with the above conversions, and also a quit option. Then gets a response from the user, being sure that their choice is one of the options, and if a char is either lower or upper case. It returns their choice.

4 conversion methods, one for each of the conversions above. Each of these will have their own local variables, and do their own input using the method getDouble() created in week 12.

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!