Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiejohnsonkc/c1e966ef0984279b0849a86cf51034a5 to your computer and use it in GitHub Desktop.
Save jamiejohnsonkc/c1e966ef0984279b0849a86cf51034a5 to your computer and use it in GitHub Desktop.
js loop repeat until condition is met
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