Celcius to Farenheit Conversion
Write a program to convert Celsius to Farenheit. Display the result correct to 1 decimal.
Create a class "CelsiusConversion.java" and write the main method.
Hint : 5 * (F – 32) = 9 * C, F-Farenheit , C- Celsius
Sample Input 1 :
80
Sample Output 1 :
176.0
Sample Input 2 :
88
Sample Output 2 :
190.4
Comments
Post a Comment