write a program that will read the temperature in Celsius
and convert that into Fahrenheit.
Answer Posted / umed sharma
This is the easy answer
#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
printf("\n Enter temperature in celsius");
scanf("%f",&c);
f=(1.8 * c) + 32;
printf("\n temperature in fahrenheit is = %.2f",f);
getch();
}
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is data structure in c and its types?
When should the const modifier be used?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is property type c?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is getch c?
What does typedef struct mean?
What are the difference between a free-standing and a hosted environment?
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 []);
Explain how are portions of a program disabled in demo versions?
What do you understand by friend-functions? How are they used?
What is static and volatile in c?
what are the 10 different models of writing an addition program in C language?
Can you please compare array with pointer?