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
What is keyword in c?
What is a scope resolution operator in c?
What is meant by errors and debugging?
Write a code of a general series where the next element is the sum of last k terms.
What is console in c language?
Is calloc better than malloc?
What is a double c?
What is the difference between array and pointer?
What do you mean by a local block?
What is register variable in c language?
What is a file descriptor in c?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What are pointers?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is a pointer variable in c language?