Skip to main content

Program to convert temperature from Celsius to Fahrenheit

Program to convert temperature from Celsius to Fahrenheit 

Source Code:

#include<conio.h>

#include<stdio.h>
int main()
{
float f,c;
printf("\n enter the temp. in celcius:");
scanf("%f",&c);
f=(c*9)/5+32;
printf("\n the temperature in fahrenheit is:%.2f",f);
return 0;
}
Output:
Follow our site for more program like this.. 

Comments