write a programme to convert temperature from farenheit to celcius?
Answer Posted / yamuna
/* A.YAMUNA III BSC CS,L.R.G COLLEGE,TIRUPUR*/
#include<stdio.h>
#include<conio.h>
void main()
{
float f,c;
clrscr();
printf("Enter the Fahrenheit value:");
scanf("%f",&f);
c = (f-32)*5/9;
printf(" The Celsius value :%f",c);
getch();
}
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Where define directive used?
difference between native and cross compilers
What are the types of arrays in c?
What is the size of enum in bytes?
Can we add pointers together?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Can a pointer be volatile in c?
What are the c keywords?
Write a program to print ASCII code for a given digit.
When should a type cast be used?
What is a union?
If fflush wont work, what can I use to flush input?
Why do we need functions in c?
When the macros gets expanded?
can we have joblib in a proc ?