Assign5 Post - Nightclub -
07-24-2013, 09:02 PM
I completed this assignment with little issues. I was able to utilize a method asking for the user input of the age and used an if/else statement nested within another if/else statement. The initial if looked as to whether the value was equal to 21 if not then it looked as to whether it was under 21. If it was then it would state that the person was too young, if else then the person was obviously older than 21. I am getting a little more creative with my scenes; it took me longer to look for all of the appropriate objects than it did to set up the code. It seems to be getting fun the more I understand it, I hope this is the case for everyone else.
|