Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a c program to convert fahrenheit to celsius?

Answers were Sorted based on User's Feedback



write a c program to convert fahrenheit to celsius?..

Answer / azad sable,chiplun.

void main()
{
float fr,cent;
clrscr();
printf("enter the tempreture in F");
scanf("%f",&fr);
cent=5.0/9.0*(fr-32);
printf("\nTempreture in centigrade=%f",cent);
}
getch();
}

Is This Answer Correct ?    24 Yes 3 No

write a c program to convert fahrenheit to celsius?..

Answer / faizan

/*Logic== C=(f-32)/1.8 ==*/


#include<stdio.h>
#include<conio.h>
#define f_low 0
#define f_max 250
#define step 25

void main()
{
typedef float real;
real fahrenheit,celsius;
clrscr();
fahrenheit=f_low;
printf("Fahrenheit Celsius\n\n");
while(fahrenheit<=f_max)
{
celsius=(fahrenheit-32.0)/1.8;
printf("%5.1f
%7.2f\n\n",fahrenheit,celsius);
fahrenheit=fahrenheit+step;
}
getch();
}

Is This Answer Correct ?    26 Yes 13 No

write a c program to convert fahrenheit to celsius?..

Answer / bukke ramesh naik

/* c=(f-32)/1.8 */#include<stdio.h>
#include<iomap.h>
#define fahern_low 0
#define fahern_max 250
void main()
float c,f;
clrscr();
f=fahern_low;
printf("fahernheat into celsius\n");

while(f<=fahern_max)
{
c=(f-32.0)/1.8;
f=f+c;

}
getch();
}

Is This Answer Correct ?    19 Yes 7 No

write a c program to convert fahrenheit to celsius?..

Answer / ramanan

#include<stdio.h>
#include<conio.h>
void main()
{
float c,t;
clrscr();
printf("\n enter the celsius value...");
scanf("%f",&c)
f=(1.8*c)+32
printf("\n to converted fahernheit is ....%2.f",f);
getch();
}

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More C Interview Questions

what is inline function?

2 Answers  


Explain #pragma in C.

1 Answers  


Convert the following expression to postfix and prefix (A+B) * (D-C)

3 Answers   Satyam,


write a program to find lcm and hcf of two numbers??

1 Answers  


Write a C program where input is: "My name is xyz". output is: "xyz is name My".

1 Answers   TCS,


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


what are the stoge class in C and tel the scope and life time of it?

2 Answers   Tech Mahindra,


Combinations of fibanocci prime series

0 Answers  


Explain how can I make sure that my program is the only one accessing a file?

0 Answers  


how can u print a message without using any library function in c

1 Answers   NIIT,


how to build a exercise findig min number of e heap with list imlemented?

0 Answers  


Categories