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 the difference between null pointer and void pointer.
Should a function contain a return statement if it does not return a value?
What is bin sh c?
Explain what is the difference between a free-standing and a hosted environment?
What is data structure in c and its types?
What are pointers in C? Give an example where to illustrate their significance.
Does c have function or method?
How can a process change an environment variable in its caller?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Explain what header files do I need in order to define the standard library functions I use?
What is break in c?
Write a program in c to replace any vowel in a string with z?
Describe the order of precedence with regards to operators in C.
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters