Write a program to calculate the fahrenheit of the given celsisus through the keyboard.
#include


#include

void main(void)

{

clrscr();

float c,f;

printf("Enter the tepmrature in fahrenheit");

scanf("%f",&f);

c=(f-32)*5/9;

printf("The temprature in Celsius is %f",c);

getch();

}

Comments

Popular posts from this blog

Tip of the Day # 13

Governor Generals of Pakistan