Temperature change

#include<stdio.h>
int main()
{
    float celsius = 0.0 , faherenheit = 0 ;

    printf(" Enter the temperature in celsius : ");
    scanf("%f",&celsius);

    faherenheit = (celsius * (9 / 5.0)) + 32;

    printf(" The temperature in faherenheit : %f", faherenheit);

    return 0 ;

}


OUTPUT :

Enter the temperature in celsius : 0

The temperature in faherenheit : 32.000000

For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/





Post a Comment

0 Comments