You are working on a new robot to help out at amusement parks. Your robot will be stationed at a place where people line up to get on a roller coaster.
In order to ride a roller coaster, people need to meet the height requirement for that coaster. We don't want anyone falling out of the seats!
Your robot will be given the height requirement for the ride in inches (coasterHeightRequirement
) and the height of the next person in line (riderHeight
), also in inches.
Height requirements will always be integers. Rider height may be a floating point number or integer.
Write a function that returns true
if the person meets the ride's height requirement and false
otherwise. If the person's height exactly meets the requirement, return true
.