> if (theTemperature >= 0)
if ( (theTemperature >= 0) && (theTemperature <= 100))
If you don't know what the '&&' means, then you need to do some serious
reading for your class.

Signature
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
vicki - 09 Dec 2005 13:11 GMT
>> if (theTemperature >= 0)
>
[quoted text clipped - 3 lines]
>reading for your class.
> Hi Daviid
I tryed what u surggested but my program did'nt run at all with && (<=
100theTemperature))

Signature
v davies
vicki - 09 Dec 2005 13:12 GMT
>> if (theTemperature >= 0)
>
>if ( (theTemperature >= 0) && (theTemperature <= 100))
>
>If you don't know what the '&&' means, then you need to do some serious
>reading for your class.
I mean &&(theTemperature <=100))

Signature
v davies
IchBin - 09 Dec 2005 23:31 GMT
>>> if (theTemperature >= 0)
>> if ( (theTemperature >= 0) && (theTemperature <= 100))
[quoted text clipped - 3 lines]
>>
> I mean &&(theTemperature <=100))
http://www.w3schools.com/js/js_if_else.asp

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
><SCRIPT LANGUAGE = "JavaScript">
see http://mindprod.com/jgloss/javascript.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.