[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

i need help with c programing please!



Hi! I'm Having trouble compiling this program-


#include<stdio.h>

void main()
{
float degC, degF;
while (degC <101) {
printf("Enter your temperature here (Celuius) >");
degF = 32 + degC * 1.8;
printf("The temperature is %f in Fahrenheit", degF);
}
}


this program is supposed to allow users to repeatedly
enter temperatures in degrees Celsius, and then print
out the temperature in degrees Fahrenheit. The program
terminates when a temperature of more than 100 is
entered.(note:degF=32+decC*1.8). 


I'm using turbo c. version2.01
Please help me as quickly as possible.
Thank you. 

please reply to shit_shit_dude@xxxxxxxxx


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/