[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: i need help with c programing please!
shiit dude wrote:
>
> #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);
> }
> }
Would you mind initializing degC?
>
> 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).
BTW, what's your trouble? You haven't stated it...
>
> please reply to shit_shit_dude@xxxxxxxxx
Why? That's against list etiquette's. You post it to the list. You read it on
list.
Shridhar