Wednesday, January 18, 2012

What wrong with this piece of Java program...?

You need to switch two code blocks. The block where you ask if they want to play should go first. This initializes x. The following questions should be asked inside that block of code if the answer is yes, otherwise exit.

0 comments:

Post a Comment