Professional Documents
Culture Documents
Lab Report # 02: EE-112L - Programming Fundamentals Lab by
Lab Report # 02: EE-112L - Programming Fundamentals Lab by
Reg. # 20MDELE136
Class No.: 18
Instructor
DATED: 04/04/2021
Task: Taking Input at Run Time.
Fahrenheit to Celsius.
CODE:
// Fahrenheit to Celsius in C
// ----20MDELE136-----
// ----AUSAF AHMAD-----
#include<stdio.h>
int main()
at run time\n");
printf("\n");
180/100=1.8
%0.2f", celsius);
return 0;
}
Snap-A (i.e. CODE)
Result:
Snap-B (Result)
The End