[Let Us C solution ] C Program To Convert Temperature
Code : -
#include<stdio.h>
#include<windows.h>
#include<conio.h>
void main(){
float cel,fr;
system("cls");
printf("\n\n\t\tCONVERSION IN TEMPRETURE");
printf("\n\n\n\t\tENTER VALUE IN FAHRENHEIT : ");
scanf("%f",&fr);
cel=(5*fr-160)/9;
printf("\n\n\t\tVALUE IN CELCIUS : %f",cel);
getch();
}
Download Files
Comments
Post a Comment