write a programme to convert temperature from farenheit to celcius?
Answer Posted / prasanna kumar [cse dept. kln
#include<stdio.h>
#include<conio.h>
void main()
{
float farenheit,celsuis;
clrscr();
printf("Enter the farenheit:");
scanf("%f",&farenheit);
celsuis=(farenheit-32)/1.8;
printf("the celcius for the given farenheit is %f.",farenheit);
getch();
}
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
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);
What type of function is main ()?
How can I make it pause before closing the program output window?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
Write a program for finding factorial of a number.
What is the use of #include in c?
What is the difference between text and binary modes?
What are derived data types in c?
What will the preprocessor do for a program?
Can the sizeof operator be used to tell the size of an array passed to a function?
difference between object file and executable file
What is class and object in c?
What is the full form of getch?
c program for searching a student details among 10 student details
Where are c variables stored in memory?