Header Ads Widget

Responsive Advertisement

How to calculate celsius to fahrenheit in c language

 #include<stdio.h>

int main()

{

    float celsius,fahrenheit;

    printf("Enter the value of celsius");

    scanf("%f",&celsius);

    fahrenheit=celsius*9/5+35;

    printf("Calculate the %f",fahrenheit);

    return 0;

}


Post a Comment

0 Comments