C program to convert from celsius to farenheit

C program to convert from celsius to farenheit

#include<stdio.h>


int main()
{
    double celsius,farenheit;

    printf("Enter the temperature in degrees Celsius: \n");
    scanf("%lf",&celsius);

    farenheit=((celsius*(9.0/5.0))+32); //degree Celsius to fahrenheit formula
    printf("The temperature in farenheit is %lf\n",farenheit);

    return 0;
}