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
Write a C program to count the number of email on text
What are predefined functions in c?
can we implement multi-threads in c.
What is c language and why we use it?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is difference between structure and union with example?
In c language can we compile a program without main() function?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is structure in c explain with example?
What is the difference between local variable and global variable in c?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What is sizeof array in c?
How pointer is different from array?
Multiply an Integer Number by 2 Without Using Multiplication Operator
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58