Celsius to fahrenheit

Report a typo

Write a C++ program to convert temperature from Celsius to Fahrenheit. Take the temperature in Celsius as input and calculate the corresponding temperature in Fahrenheit using the formula:

Print the result in the same format as in the sample output.

Sample Input 1:

24

Sample Output 1:

Temperature in Fahrenheit: 75.2

Sample Input 2:

0

Sample Output 2:

Temperature in Fahrenheit: 32
Write a program in C++





Create a free account to access the full topic