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

Explain the Difference between the New and Malloc keyword.

674


How many types of operator or there in c?

590


Difference between macros and inline functions? Can a function be forced as inline?

693


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

591


Why does not c have an exponentiation operator?

620






what is the role you expect in software industry?

1641


Explain how to reverse singly link list.

597


What is pass by value in c?

585


write a progrmm in c language take user interface generate table using for loop?

1562


What is a scope resolution operator in c?

737


What is && in c programming?

663


Explain how many levels deep can include files be nested?

620


What is the difference between union and structure in c?

560


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

623


What does == mean in texting?

651