P006.c ​
Metadata ​
- Author — Amit Dutta (amitdutta4255@gmail.com)
- Last updated — 12 Dec 2025
- License — MIT
Problem Statement ​
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.
Source Code ​
Printing the code
To print this file, open it on GitHub and click Raw before printing, or use the Download Raw button above and print directly from that page.
c
#include<stdio.h>
int main() {
double f = 98.6, c;
c = ((f - 32) * 5) / 9;
printf("Temperature in Celcius is : %lf",c);
return 0;
}1
2
3
4
5
6
7
2
3
4
5
6
7