Write a program to read the temperature in Centigrade and convert it to farenhite equivalent
/*A program to read the temperature in Centigrade and convert it to Farenhite eqiuvalent
Programmed by:
Name: Jitendra Kumar Yadav
Roll: 16
Date: 8 Jan 2011 */
#include <stdio.h>
#include <conio.h>
void main()
{
float C,F;
printf(“Enter the temperature in Centigrade:”);
scanf(“%f”,&C);
F=1.8*C+32;
printf(“The temperature in Farenhite is %f”,F);
getch();
}
Comments (1)