/*Fahrenheit-Centigrade scale converson*/
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float F,C;
printf("Input The Value of Fahrenheit...=");
scanf("%f",&F);
C=(F-32)/1.8;
printf("The Centigrade Value is..=%.2f",C);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float F,C;
printf("Input The Value of Fahrenheit...=");
scanf("%f",&F);
C=(F-32)/1.8;
printf("The Centigrade Value is..=%.2f",C);
getch();
}
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.