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
What does static variable mean in c?
How to declare pointer variables?
What is array in c with example?
When should a type cast not be used?
Why C language is a procedural language?
What is modifier & how many types of modifiers available in c?
How will you divide two numbers in a MACRO?
Explain how do you override a defined macro?
Explain what is the difference between the expression '++a' and 'a++'?
Explain about the constants which help in debugging?
What is a const pointer in c?
What is the use of linkage in c language?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What does 4d mean in c?
a program that can input number of records and can view it again the record