Posts

Showing posts with the label fahrenhiet to celcius

C program to convert temperature from Celius to fahrenhiet and vice versa

Image
This is the program that have been made with the basic knowlegde of C.So obviously don't requires any advanced knowledge of C. //WAP TO CONVERT TEMPERATURE FROM CELCIUS TO FAHRENHIET AND VICE VERSA. #include <stdio.h> #include<stdlib.h> #include <conio.h> flag=1; void c2f(float); void f2c(float);                              //FUNCTION declaration void worker(void); int main() {     worker();                                  //CALLING WORKER FUNCTION     return 0; } void worker(void) {     int i;     float tem;     printf("\n\t\t\t\tCONVERSION MENU\n\n");     printf(" 1.CELSIUS TO FAHRENHIET");     printf("\t\t2.FAHRENHIET TO CELSIUS");               //CONVERSION MENU     pri...