diff --git a/3-control-flow/14-rollercoaster.java b/3-control-flow/14-rollercoaster.java index 381ed90..9330652 100644 --- a/3-control-flow/14-rollercoaster.java +++ b/3-control-flow/14-rollercoaster.java @@ -6,7 +6,7 @@ public static void main(String[] args) { int height = 169; int weight = 45; - if (height >= 120 && weight >= 40) { + if (height > 120 && weight > 40) { System.out.println("Congrats! You can ride!"); } else { System.out.println("Sorry, You can't ride today.");