write a programme to convert temperature from farenheit to celcius?

Answer Posted / prasanna kumar [cse dept. kln

#include<stdio.h>
#include<conio.h>
void main()
{
float farenheit,celsuis;
clrscr();
printf("Enter the farenheit:");
scanf("%f",&farenheit);
celsuis=(farenheit-32)/1.8;

printf("the celcius for the given farenheit is %f.",farenheit);
getch();
}

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

651


What type of function is main ()?

595


How can I make it pause before closing the program output window?

585


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14977


Write a program for finding factorial of a number.

637






What is the use of #include in c?

586


What is the difference between text and binary modes?

652


What are derived data types in c?

619


What will the preprocessor do for a program?

596


Can the sizeof operator be used to tell the size of an array passed to a function?

624


difference between object file and executable file

6103


What is class and object in c?

598


What is the full form of getch?

590


c program for searching a student details among 10 student details

1663


Where are c variables stored in memory?

601