Created
May 28, 2021 20:35
-
-
Save jamiejohnsonkc/c1e966ef0984279b0849a86cf51034a5 to your computer and use it in GitHub Desktop.
js loop repeat until condition is met
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let num; | |
do { | |
num = prompt("Enter a number greater than 100?", 0); | |
} while (num <= 100 && num); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment