Read a temperature in Celsius and convert it to Fahrenheit, using F = C × 9/5 + 32.
Input / Output
Input: a temperature in Celsius (may include a decimal). Output: the Fahrenheit equivalent, to 1 decimal place.
Examples
Input
0
Expected Output
32.0
Input
100
Expected Output
212.0
+ 2 hidden tests checked on Submit.
Main.java is the entry point. Add extra classes for OOP exercises — they compile together.
Run your code to see test results here.