Home Uncategorized Convert Celsius to Fahrenheit in C

Convert Celsius to Fahrenheit in C


Here we written code for to check given number is Celsius to Fahrenheit.

For improvement of your coding skills we give some tasks along this. If you solve this tasks and send to our email
(onlineexamshubteam@gmail.com) with your details. we will display your details(like Name, City, college, photo) in our site.

Task: Write a c program to convert Kilograms to Pounds.

Write a C Program to convert Celsius to Fahrenheit.

int main()
   float C,F; // ‘C’ for Celsius,’F’ for Fahrenheit
   printf(“Enter Celsius temperature : “);
   scanf(“%f”,&C); //Reading Celsius temperature
   F=C*(9/5.0)+32; //Converting Celsius temperature to Fahrenheit by predefined formula.
   printf(“Fahrenheit temperature is : %.2f”,F);
   return 0;

i) Enter Celsius temperature : 97
Fahrenheit temperature is : 206.60
ii) Enter Celsius temperature : -5
Fahrenheit temperature is : 23.00

Back to the programs list.

Task Achievers

Till now no one is answered.