Skip to content

Commit 6880b50

Browse files
fixed spelling mistake
changed loose to lose
1 parent 07dea4d commit 6880b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch_06/Exercise06_30.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void main(String[] args) {
4848
System.out.println("You Win!");
4949
break;
5050
} else if (rolling == 7) {
51-
System.out.println("You loose!");
51+
System.out.println("You lose!");
5252
break;
5353
}
5454
}
@@ -78,4 +78,4 @@ static String checkResult(int roll) {
7878
return "point";
7979

8080
}
81-
}
81+
}

0 commit comments

Comments
 (0)