#include<stdio.h> #include<conio.h> void main() { clrscr(); float cen, fah; printf("Enter temperature in Celsius : "); scanf("%f",&cen); fah=(1.8 * cen) + 32; printf("\nTemperature in Fahrenheit = %f",fah); getch(); }
No comments: