Search This Blog

Saturday, 16 May 2020

programme C( find celsius)

 Fahrenheit convert to celsius


#include <stdio.h>
#include <stdlib.h>

int main()
{
   float Cel,Fah;

   printf("Enter Fahrenheit degree \t");
   scanf("%f",&Fah);

   Cel=(Fah-32)*5/9;

   printf("Temperature in Celsius Degrees %f\t",Cel);

   return 0;
}

   

No comments:

Post a Comment

please wait...