Program to convert Celsius to Fahrenheit.

 #include <stdio.h>


int main()

{

    float celcius,fehranehit ;

    printf("enter value of celcius");

    scanf("%f",&celcius);

    fehranehit=(celcius*9/5)+32;

    

    printf("fehranehit is equal to %.2f",fehranehit);


    return 0;

}


No comments:

Post a Comment

Programming in C Language

  PROGRAM LIST TO BECOME PRO IN C    😍😍😍            PRACTICE SETS                                                        UNIT -1  👇   IN...