PDA

View Full Version : Lab 2


IAlice
08-14-2015, 12:28 AM
So my monkey sings all the way down to 0. I just wasn't sure when to get him to stop. The greater than vs less than structure of a loop still confuses me. This coupled with the greater than or equal to selection makes me reconsider whether or not the value I am seeking needs to be included. Therefore when I moved onto Lab 2, I was really curious about having the character ask a question and then having the character respond through actions. I had to remember to engage in error checking (again). I also had to make sure that the program could work with "yes", "Yes" or even "YES". This I finally accomplished with and and/both statement. However, I had to be careful when making changes in the loop because the character suddenly wouldn't respond.

This is probably the assignment where I learned how to save....often.

MrMoke
08-14-2015, 10:54 AM
Be sure to check in World Functions(Ask User). The "yes/no" option lets you load a Boolean variable. Comes in handy.:)