#include<stdio.h>
#include<conio.h>
void main()
{
float f,c;
clrscr();
printf("Welcome to Temperature Converter.");
printf("Enter value of temperature if farenheit:");
scaanf("%f",&f);
c=(f-32)*(5/9);
printf("Temperature in celcius:%.2f",c);
getch();
}
Comments
Post a Comment