c program convert fahrenheit to celsius
#include<stdio.h>
void main()
{
float celsius,fahrenheit;
printf("\nEnter temperature in Fahrenheit:");
scanf("%f",&fahrenheit);
celsius=(fahrenheit - 32)*5/9;
printf("\nCelsius = %.3f",celsius);
}
Are there any code examples left?
New code examples in category C
-
C 2022-03-27 22:30:45 Problem Statement Print the following output: \ Input Format IN Output Format \
-
-
-
-
-
-
-