//C Program for degree Celsius to degree Fahrenheit
#include<stdio.h>
#include<conio.h>
void main()
{
float c,p;
clrscr();
printf("\nCelsius");
scanf("%f",&c);
p=(c*9/5)+32;
printf("\nFahrenheit=%f",p);
getch();
}
Hope you liked my posts, give comments if you have any doubts.. :)#include<stdio.h>
#include<conio.h>
void main()
{
float c,p;
clrscr();
printf("\nCelsius");
scanf("%f",&c);
p=(c*9/5)+32;
printf("\nFahrenheit=%f",p);
getch();
}
0 comments:
Post a Comment