Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Tuesday, July 12, 2022

C Program to convert Fahrenheit into Celsius for SEE and NEB

 

C Program to convert Fahrenheit into Celsius



#include<stdio.h>

#include<conio.h>

main()

{

float f,c;

printf(" Enter temp in Fahrenheit\n");

scanf("%f",&f);

c=(5.0/9) * (f - 32);

 printf("Temp in Celsius=%f",c);

getch();

}


Output:



No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages