7. Write a C program to enter temperature in Celsius and convert it into Fahrenheit.
Solution :-
#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
float fahrenheit,celsius;
printf("Enter the temperature in Celsius:-");
scanf("%f",&celsius);
fahrenheit =(celsius *9/5)+32;
printf("The Temperature in Fahrenheit is :-%f",fahrenheit);
getch();
}
Output :-