PDA

View Full Version : Java



Millad
September 20th, 2007, 03:56 AM
I dont know how to tell the user to stop when the input from the user is a value of a -20 or a negative number.

i know how to use an if statement but the problem is i cant tell it to stop or show message if the user inputs a negative number

help in java programming

zellers
September 20th, 2007, 10:15 PM
I beleive this would go under the other programming forum, for non-AS related games.

Jeff Wheeler
September 20th, 2007, 10:35 PM
Can you give a little more context about the rest of your program where you're trying to do this?