write a programme to convert temperature from farenheit to celcius?

Answer Posted / yamuna

/* A.YAMUNA III BSC CS,L.R.G COLLEGE,TIRUPUR*/
#include<stdio.h>
#include<conio.h>
void main()
{
float f,c;
clrscr();
printf("Enter the Fahrenheit value:");
scanf("%f",&f);
c = (f-32)*5/9;
printf(" The Celsius value :%f",c);
getch();
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a loop?

558


Which is better malloc or calloc?

656


Explain the process of converting a Tree into a Binary Tree.

2109


Explain how are 16- and 32-bit numbers stored?

787


What are header files why are they important?

586






What are global variables and how do you declare them?

623


List a few unconditional control statement in c.

564


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

1599


What is a structural principle?

645


What is a nested loop?

653


What is the difference between struct and typedef struct in c?

661


What happens if you free a pointer twice?

613


Is c easy to learn?

563


By using C language input a date into it and if it is right?

576


How can I read/write structures from/to data files?

554