Problem - Celsius To Fahrenheit

Write a method called convertToFahrenheit that takes a double parameter representing a temperature in Celsius and returns the temperature in Fahrenheit. Use the formula Fahrenheit = (Celsius * 9/5) + 32. Call the method from the main method and display the result in the console.

Solution