Write a program to convert Celsius into Fahrenheit in C Language - Program to convert Celsius into Fahrenheit in C - convert Celsius into Fahrenheit in C

 Program to convert Celsius into Fahrenheit in C


#include<stdio.h>

int main()

{

    float celsius, fahrenheit;

    printf("\nEnter Temperature in Celsius : ");

    scanf("%f", &celsius);

    fahrenheit = (1.8 * celsius) + 32;

    printf("\nTemperature in Fahrenheit : %f\n ", fahrenheit);

    return (0);

}

इस कोड को हमने CODEBLOCK पर बना कर run किया है

OUTPUT

Comments