Program to Convert Celsius to Fahrenheit in C Language

This article will show you the C program to convert temperature in Celsius to Fahrenheit. The Formula for conversion is:

1.8 * C + 32

void main(){
int a;
float i=1;
printf("\n********************************\nprogram to convert Celsius to Fahrenheit\n***********************************\n\n");
printf("Enter Temperature in Celsius: ");
i=(1.8 * a) +32;
printf("Fahrenheit Temperature is : %.3f\n",i);


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: