Decode School

Decode School - The School for Problem Solvers

Welcome to my blog. Subscribe and get my latest blog post in your inbox.

Java Program to calculate Celsius to Fahrenheit

Sample Input 1:

Enter the Celsius:1

Sample Output 1:

The Fahrenheit Is:33.8

Program or Solution


Program Explanation

Get celsius as input (using scanner class) Calculate fahreheit using Formula fahreheit=celsius*1.8+32; print fahreheit (using system.out.println).