C program to convert Celsius to Fahrenheit.

#include<stdio.h>
#include<conio.h>
void main()
{
	clrscr();
	float cen, fah;
	printf("Enter temperature in Celsius : ");
	scanf("%f",&cen);
	fah=(1.8 * cen) + 32;
	printf("\nTemperature in Fahrenheit = %f",fah);
	getch();
}
C program to convert Celsius to Fahrenheit. C program to convert Celsius to Fahrenheit. Reviewed by on December 22, 2019 Rating: 5

No comments:

Powered by Blogger.