write a program that will read the temperature in Celsius
and convert that into Fahrenheit.



write a program that will read the temperature in Celsius and convert that into Fahrenheit...

Answer / 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

More C Interview Questions

disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

0 Answers  


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā€œ%dā€,x); --x; } }

7 Answers   CSC,


What is c value paradox explain?

0 Answers  


What is the function of this pointer?

0 Answers   Agilent, ZS Associates,


what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }

2 Answers   Google,






Is int a keyword in c?

0 Answers  


Is main a keyword in c?

0 Answers  


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

0 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


Can you mix old-style and new-style function syntax?

0 Answers  


write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?

3 Answers   Mind Tree,


What is meant by realloc()?

0 Answers  


Categories