# 10.3 Find if value is in range using include?

Range has method `include?`

which can be used to find if a value is in a given
range or not.

Let’s find out if value 45 is within range 30 to 50.

Now let’s check if value 80 is within range 20 to 40.

Range has method `include?`

which can be used to find if a value is in a given
range or not.

Let’s find out if value 45 is within range 30 to 50.

Now let’s check if value 80 is within range 20 to 40.