Write a C Program to convert entered temperature into Fahrenheit from Celsius.
Here is the C Program to convert temperature into Fahrenheit from celsius. The temperature is taken as input from user.
#include<stdio.h>
#include<conio.h>
void main()
{ float c, f;
clrscr();
printf(“Enter Temperature(in Celcius):”);
scanf(“%f”,&c);
f=(1.8)*(c+32);
printf(” Fahrenheit=%f “,f);
getch();
}
Output