Monday, June 4, 2012

Trial and error

I completed example 4-11 but the file kept giving me incorrect output.  Figured out that if the user enters Y or N as capital letters the program runs fine however if caps are not used the program prints the wrong message.  Looks like a good example of how to predict user errors and a good place to use || (or). 

No comments:

Post a Comment