C program convert Celsius to Fahrenheit

      No Comments on C program convert Celsius to Fahrenheit
#include<stdio.h>
#include<conio.h>
void main()
{
 float x,y,z;
 clrscr();
 printf("Enter Temperature in Celsius:-\n");
 scanf("%f",&x);
 y=(x*9)/5;
 z=y+32;
 printf("Temperature in Fahrenheit is: %f",z);
 getch();
}

OUTPUT:-

Leave a Reply

Your email address will not be published. Required fields are marked *