write a programme to convert temperature from farenheit to celcius?
Answer Posted / hasitbhatt
/*
Hasit P. Bhatt
Institute Of Technology,Nirma University,Ahmedabad.
hasit.p.bhatt@gmail.com
http://facebook.com/hasit.p.bhatt.page
*/
#include<stdio.h>
#include<conio.h>
void main()
{
float faren;
clrscr();
printf("Enter the farenheit value:");
scanf("%f",&faren);
printf("%.2f",(faren-32)*5/9.0);
getch();
}
| Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
Who invented b language?
What is a newline escape sequence?
Explain what is the benefit of using enum to declare a constant?
Why is c called "mother" language?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Explain low-order bytes.
using for loop sum 2 number of any 4 digit number in c language
Can a pointer point to null?
how can f be used for both float and double arguments in printf? Are not they different types?
Why is c faster?
Do string constants represent numerical values?
Explain the properties of union. What is the size of a union variable
Why is c still so popular?
What is the size of a union variable?
What is 02d in c?