write a c program to convert fahrenheit to celsius?
Answer Posted / ramanan
#include<stdio.h>
#include<conio.h>
void main()
{
float c,t;
clrscr();
printf("\n enter the celsius value...");
scanf("%f",&c)
f=(1.8*c)+32
printf("\n to converted fahernheit is ....%2.f",f);
getch();
}
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is c token?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What is the advantage of c?
Why do we use pointer to pointer in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Explain do array subscripts always start with zero?
difference between Low, Middle, High Level languages in c ?
Compare interpreters and compilers.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Write a program to find factorial of a number using recursive function.
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
What does the c preprocessor do?
C program to find all possible outcomes of a dice?
What are enums in c?
Why c is known as a mother language?