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

My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.

1 Answers  


Why is it usually a bad idea to use gets()? Suggest a workaround.

1 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


How can I set an array's size at run time?

9 Answers  


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

0 Answers  


What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }

5 Answers  


from which concept of 'c', the static member function of 'c++' has came?

1 Answers   Bosch,


What is the total generic pointer type?

0 Answers  


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

0 Answers  


Difference between MAC vs. IP Addressing

0 Answers  


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,


the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789

5 Answers  


Categories