java Temperature Conversions Follow the following methods to get answer Method celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation celsius = 5.0 / 9.0 * (fahrenheit - 32); Method fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation fahrenheit = 9.0 / 5.0 * celsius + 32; Use methods from part a and b to write application that lets the user either to enter Fahrenheit temps and display the Celsius equivalents or to enter Celsius temperatures and display the Fahrenheit equivalent value. Provide a menu to the user to input 1 for “Fahrenheit to Celsius”, 2 for “Celsius to Fahrenheit”, and 3 for leave program. Use a loop for repetition.
java Temperature Conversions
Follow the following methods to get answer
Method celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation celsius = 5.0 / 9.0 * (fahrenheit - 32);
Method fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation fahrenheit = 9.0 / 5.0 * celsius + 32;
Use methods from part a and b to write application that lets the user either to enter Fahrenheit temps and display the Celsius equivalents or to enter Celsius temperatures and display the Fahrenheit equivalent value. Provide a menu to the user to input 1 for “Fahrenheit to Celsius”, 2 for “Celsius to Fahrenheit”, and 3 for leave program. Use a loop for repetition.
Step by step
Solved in 5 steps with 4 images