C Language (Conversion Celcius to Farheniet)
#include
#include
void main()
{
float c,f;
clrscr();
printf ("Enter Value");
scanf ("%f",&c);
f = (c+32)*9/5;
printf("The ans is %f",f);
getch();
}
#include
void main()
{
float c,f;
clrscr();
printf ("Enter Value");
scanf ("%f",&c);
f = (c+32)*9/5;
printf("The ans is %f",f);
getch();
}
Comments