Skip to content

Commit 9e724c1

Browse files
Merge pull request #921 from MirceaMazi/bagels-js-grammar
Fixed small grammar errors at the beginning and end of the bagels game in the js file
2 parents f18ef0a + 8dd9514 commit 9e724c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

05_Bagels/javascript/bagels.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function main()
8484
} while (j >= 1) ;
8585
}
8686
print("\n");
87-
print("O.K. I HAVE A NUMBER IN MIND.\n");
87+
print("OK. I HAVE A NUMBER IN MIND.\n");
8888
for (i = 1; i <= 20; i++) {
8989
while (1) {
9090
print("GUESS #" + i);
@@ -142,7 +142,7 @@ async function main()
142142
print("\n");
143143
} else {
144144
print("OH WELL.\n");
145-
print("THAT'S A TWENTY GUESS. MY NUMBER WAS " + a[1] + a[2] + a[3]);
145+
print("THAT'S YOUR TWENTIETH GUESS. MY NUMBER WAS " + a[1] + a[2] + a[3]);
146146
}
147147
y++;
148148
print("PLAY AGAIN (YES OR NO)");

0 commit comments

Comments
 (0)