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


Please Help Members By Posting Answers For Below Questions

Is boolean a datatype in c?

541


application attempts to perform an operation?

1489


What is function prototype?

607


What does char * * argv mean in c?

621


What is array of structure in c programming?

747






Explain indirection?

639


What is hash table in c?

568


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

575


What are shell structures used for?

595


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

762


What is stack in c?

609


What is meant by type casting?

622


What is the purpose of ftell?

595


Explain the difference between getch() and getche() in c?

563


What are qualifiers and modifiers c?

543