Temperature of a city in farenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees.



 
#include<stdio.h>
void main()
{
  float C ,F;
  printf("Enter tempreture Fareheit degrees");// This goes in a single line.

  scanf("%f",&F);
  C=(F-32)*5/9;
  printf("Temperature in centigrade degree =%f",C);// This goes in a single line.
}

Post a Comment (0)
Previous Post Next Post