Answers for "c program convert fahrenheit to celsius"

C
0

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); 
}
Posted by: Guest on January-23-2021

Code answers related to "c program convert fahrenheit to celsius"

Code answers related to "C"

Browse Popular Code Answers by Language