or

ask mattrab Visit www.askmattrab.com for more academic resources.

To convert temperature in Celsius to Fahrenheit scale.

Dctf

// To convert temperature in Celcius to Fahrenheit scale. 

#include <stdio.h>
#include <conio.h>

int main()
{

    float dc, fer;
    printf("Enter temperature in Degree Celcious ");
    scanf("%f", &dc);

    fer = (dc*1.8)+32;

    printf("Converted temperaturein Farenheit = %f",fer);

    return 0;

}