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
I need previous papers of CSC.......plz help out by posting them.......
When is a “switch” statement preferable over an “if” statement?
What is a 'null pointer assignment' error?
Can a pointer be static?
Why header file is used in c?
Explain what is the heap?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is local and global variable in c?
How can I change the size of the dynamically allocated array?
How do I use void main?
What is the right type to use for boolean values in c?
differentiate built-in functions and user – defined functions.
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What are different types of operators?