Learn Ruby the Hard Way – Exercise 28 Boolean Practice

Here is my work for Exercise 28.

I write my answer above the code line.
I write my answer above the code line.

And then I typed each line into the irb window to confirm.

Exercise 28 output
Exercise 28 output

Summary
I like doing boolean logic. I think I learned that back in that one required logic class. I like logic. I like math. Why I never made the connection that I might like programming is beyond me!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s