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
What is meant by operator precedence?
Write a program to check armstrong number in c?
What are enumerated types?
Is calloc better than malloc?
how to create duplicate link list using C???
What are the different types of control structures in programming?
Why do we use null pointer?
about c language
What is register variable in c language?
What is pointer to pointer in c with example?
What is the difference between text and binary modes?
What extern c means?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What does the && operator do in a program code?
What is meant by inheritance?