write a c program to convert fahrenheit to celsius?
Answer Posted / azad sable,chiplun.
void main()
{
float fr,cent;
clrscr();
printf("enter the tempreture in F");
scanf("%f",&fr);
cent=5.0/9.0*(fr-32);
printf("\nTempreture in centigrade=%f",cent);
}
getch();
}
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
If null and 0 are equivalent as null pointer constants, which should I use?
What are global variables and explain how do you declare them?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
Can we replace the struct function in tree syntax with a union?
How do you use a 'Local Block'?
What is difference between constant pointer and constant variable?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is #define?
Do you know the purpose of 'register' keyword?
What is difference between structure and union?
Explain what is the use of a semicolon (;) at the end of every program statement?
How can I list all of the predefined identifiers?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
hi any body pls give me company name interview conduct "c" language only
Is c programming hard?