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
Explain what is the most efficient way to store flag values?
Where local variables are stored in c?
Why functions are used in c?
What is sizeof return in c?
what is the diffrenet bettwen HTTP and internet protocol
Difference between strcpy() and memcpy() function?
Explain how can I write functions that take a variable number of arguments?
Why are algorithms important in c program?
Is printf a keyword?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Write a factorial program using C.
How pointers are declared?
Is javascript based on c?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Can we declare variable anywhere in c?