Control Flow Know How


Once again, I don't understand why I can never get curly brackets to work.

Can someone please show me what a successful code would look like for this exercise using curly brackets instead of do |something| ?

It kept telling me there was an unexpected } and/or something was wrong with where how I did/did not put "end" I'm seriously so confused.


Please give us your code which doesn't work first.