/* Fahrenheit to Celsius */
/* Suchetan Dey */
#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
printf("Enter the value of Temperature in Fahrenheit: ");
scanf("%f",&f);
c=5*(f-32)/9;
printf("Converted Celsius value Is : %.2f \n",c);
getch();
}
The Output is :-
No comments:
Post a Comment