From 6880b509ffde2fc0119c33b62fbecb95e9c83740 Mon Sep 17 00:00:00 2001 From: Prottay Karim <70666023+prottayislive@users.noreply.github.com> Date: Sat, 24 Sep 2022 04:10:18 +1000 Subject: [PATCH] fixed spelling mistake changed loose to lose --- ch_06/Exercise06_30.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch_06/Exercise06_30.java b/ch_06/Exercise06_30.java index 4be22e1..599b5be 100644 --- a/ch_06/Exercise06_30.java +++ b/ch_06/Exercise06_30.java @@ -48,7 +48,7 @@ public static void main(String[] args) { System.out.println("You Win!"); break; } else if (rolling == 7) { - System.out.println("You loose!"); + System.out.println("You lose!"); break; } } @@ -78,4 +78,4 @@ static String checkResult(int roll) { return "point"; } -} \ No newline at end of file +}