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
Is boolean a datatype in c?
application attempts to perform an operation?
What is function prototype?
What does char * * argv mean in c?
What is array of structure in c programming?
Explain indirection?
What is hash table in c?
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 are shell structures used for?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is stack in c?
What is meant by type casting?
What is the purpose of ftell?
Explain the difference between getch() and getche() in c?
What are qualifiers and modifiers c?