Program must be in JAVA.
Write a program that converts temperature from Celsius to Fahrenheit or vice versa, depending on user's input.
The formula for converting temperature in Celsius to Fahrenheit is,
Fahrenheit = (9/5) * Celsius + 32
The formula for converting temperature in Fahrenheit to Celsius is,
Celsius = (5/9) * (Fahrenheit - 32)
Results should be rounded to two decimal points, e.g., 92.56