Need help with Ruby Control Flow

#1

test_1 = 17 __ 16

test_2 = 21 __ 30

test_3 = 9 __ 9

test_4 = -11 __ 4

Telling me I can only use <, > => <= Which I do not understand. I believe the correct answers are

Test_1 >
Test_2 <
test_3 ? no idea if I cant use ==
Test_4 I would think is < but thats not correct.

Any help would be appreciated.

#2

For test_3, you cant use ==, but you can use >= or <=

#3

I tried test_1 = 17 > 16

test_2 = 21 < 30

test_3 = 9 == 9

test_4 = -11 < 4

Oops, try again. Let's not use != or == for this exerciseâ€”just <, >, <=, and >= for now.

I am currently working on making comparisons 7. less than or greater than

#4

I forgot the t in cant. 9 is greater/less than or equal to 9.

#5

test_1 = 17 > 16

test_2 = 21 < 30

test_3 = 9 <= 9

test_4 = -11 < 4 Got it!!! Thanks and now that I got it I feel a little dumb lol I thought I had to use all of the options given

#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.