Skip to content

p006.c

Problem Statement

The normal temperature of human body is 98.6 Degree Fahrenheit. WAP to convert the temperature to Degree Celcius and display the output.

Metadata

Property Detail
Author Amit Dutta (amitdutta4255@gmail.com)
License MIT

Actions

Raw View on GitHub

💡 You can print or save this file by opening Raw and using your browser.

Source Code

#include<stdio.h>
int main() {
    double f = 98.6, c;
    c = ((f - 32) * 5) / 9;
    printf("Temperature in Celcius is : %lf",c);
    return 0;
}