8. Write a C program to enter temperature in Fahrenheit and convert to Celsius. Solution :- #include<conio.h> #include<stdio.h> void main() { clrscr(); float fahrenheit,celsius; printf("Enter the temperature in Fahernheit :-"); scanf("%f",&fahrenheit); celsius = (fahrenheit-32)*5/9; printf("The Temperature in Celsius is :-%f",celsius); getch(); } Output :-
All computer course for class 9th to 12th with proper practical and theory .........