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 Code: #include<stdio.h> void main(){ int a; float i=1; printf(“\n********************************\nprogram to convert Celsius to Fahrenheit\n***********************************\n\n”); printf(“Enter Temperature in Celsius: “); scanf(“%d”,&a); i=(1.8 * a) +32; printf(“Fahrenheit […]

Advertisements