Showing posts with label WAP to Convert CELCIUS to fahrenheit. Show all posts
Showing posts with label WAP to Convert CELCIUS to fahrenheit. Show all posts

CELCIUS TO FAHRENHEIT

WAP to Convert CELCIUS to fahrenheit

void main ()

{

float c,f;

clrscr ();

printf ("Enter the value of celcius: ");

scanf ("%f",&c);

f=(float) 9/5*c+32;

printf ("\nFahrenheit is %.2f",f);

getch ();

}

Labels