write a c program to convert fahrenheit to celsius?

Answer Posted / bukke ramesh naik

/* c=(f-32)/1.8 */#include<stdio.h>
#include<iomap.h>
#define fahern_low 0
#define fahern_max 250
void main()
float c,f;
clrscr();
f=fahern_low;
printf("fahernheat into celsius\n");

while(f<=fahern_max)
{
c=(f-32.0)/1.8;
f=f+c;

}
getch();
}

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I check whether a file exists? I want to warn the user if a requested input file is missing.

656


How can a string be converted to a number?

519


What is conio h in c?

625


How can variables be characterized?

1652


What should malloc(0) do?

617






What is a pointer in c?

683


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1481


What is a structure in c language. how to initialise a structure in c?

609


Why does the call char scanf work?

620


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1653


Should I learn c before c++?

619


How a string is stored in c?

589


What are actual arguments?

647


What is pointer in c?

742


Can the sizeof operator be used to tell the size of an array passed to a function?

620