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
all c language question
What is typedef struct in c?
how logic is used
Is javascript written in c?
What are the 4 types of organizational structures?
Is there any data type in c with variable size?
What does %p mean?
What is the hardest programming language?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Is malloc memset faster than calloc?
How to throw some light on the b tree?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Why double pointer is used in c?
What is the collection of communication lines and routers called?
What are header files and explain what are its uses in c programming?