Write a program that reads a Celsius degree in a double value from the console, then converts it to Fahrenheit and displays the result. The formula to do so is:
Hint:In Java, 9 / 5 is 1, but 9.0 / 5 is 1.8. Here is a sample run:
Breaking it down
First displaying message for a user to enter a number then setting users input to celsius for the calculation. One thing to be aware of is a user could enter something other than a number so should look to validate the input and provide a message back to the user. Calling the convertCelsiusToFahrenheit and passing celsius will return the calculation needed to display back to the user.