At the roller coaster there is a height bar: you can ride if you are 120 cm or taller. Write can_ride(height) to return true if you can ride and false if not. Exactly 120 is fine.
can_ride(135)→Truecan_ride(120)→Truebool can_ride(int height)#include <stdbool.h>
bool can_ride(int height) {
// your code here: if height is at least 120, return true
return false;
}
Run tries the examples. When they look right, Submit.