restructured

This commit is contained in:
Karan
2021-12-03 14:05:28 +05:30
committed by GitHub
parent 9b71a42554
commit 7f9ad7d09a
+1 -1
View File
@@ -7,7 +7,7 @@ while (!correct) {
guess = Number(guess); guess = Number(guess);
if (guess === ranNumber) { if (guess === ranNumber) {
correct = true; correct = true;
console.log("You got it " + ranNumber) console.log("You got it " + ranNumber);
} else if (guess > ranNumber) { } else if (guess > ranNumber) {
console.log("Too high"); console.log("Too high");
} else { } else {