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
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
How can a string be converted to a number?
What is conio h in c?
How can variables be characterized?
What should malloc(0) do?
What is a pointer in c?
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.
What is a structure in c language. how to initialise a structure in c?
Why does the call char scanf work?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Should I learn c before c++?
How a string is stored in c?
What are actual arguments?
What is pointer in c?
Can the sizeof operator be used to tell the size of an array passed to a function?