Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Operators and Control Structures Ruby Operators Less Than

I do not understand this question. I am trying to achieve find out if variable "a" is greater than variable "b".

a = 5 b = 6 a > b

should yield false

2 Answers

Hugo Paz
Hugo Paz
15,622 Points

Hi Robbi,

Are you trying to do the challenge that is linked to your post?

If so, it asks to check if b is less than a - b < a

figured it out