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
Explain main function in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What should malloc() do?
How does sizeof know array size?
In a header file whether functions are declared or defined?
What's the difference between constant char *p and char * constant p?
what are enumerations in C
What is define c?
How can you tell whether two strings are the same?
Do array subscripts always start with zero?
What is the difference between a function and a method in c?
Why does everyone say not to use gets?
What is volatile keyword in c?
What are the different data types in C?
What does c in a circle mean?