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

Re: i need help with c programing please!



> #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);
> }
> }
hey do you intend to take the input from the compiler itself or what?
don't you think it would be a good idea to try and get some input from
somewhere else using a small stupid scanf or something ?
do try that.

r /\ |-| |_| |_
~~~~~~~~~~~~~~~~~~~~~~
Always remember you're unique.
Just like everyone else.
~~~~~~~~~~~~~~~~~~~~~~

The Northern Linux lug-northindia@xxxxxxxxxxxxxxx