Thread: Nested If/Else?
View Single Post
Nested If/Else?
Old
jkidd
Member
 
Status: Offline
Posts: 21
Join Date: Jun 2018
Default Nested If/Else? - 06-25-2018, 03:19 PM

Hey guys -

I am working on an assignment that requires me to have a bouncer ask for the user's age. If the user is below 21, they don't get in. If the user is above 21, they're too old. If the user is indeed 21 years old, they get into the bar.

I have tried every combo that I can think of, and have read the class textbook, but can't make it work. Click on the following link to see a screenshot of my method in Alice: https://image.ibb.co/hyYpuo/ifelse.jpg

Any help or advice would be great!

Thanks.
   
Reply With Quote