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

Why we not create function inside function.

1750


What does 4d mean in c?

950


What is void main () in c?

735


difference between object file and executable file

6097


Why isnt any of this standardized in c?

640






What is the scope of local variable in c?

579


Explain what does the format %10.2 mean when included in a printf statement?

783


What is static volatile in c?

577


What are the ways to a null pointer can use in c programming language?

592


What is c programing language?

616


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

810


Which is the best website to learn c programming?

584


What's the best way of making my program efficient?

628


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

837


what is the structure pointer?

1645