Tuesday, August 14, 2012

Write a Program How to convert Celsius to Fahrenheit


#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
clrscr();
printf(“Enter Current Celsius”);
scanf(“%f”,&c);
f=(c-32)*5/9;
printf(“Your Current Fahrenheit is %f”,f);
getch();
}

No comments:

Post a Comment