Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created November 17, 2019 21:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save magdamiu/468f5b136946bd877b5427d32d97fcda to your computer and use it in GitHub Desktop.
while and do...while
while (sumOfNumbers > 0) {
sumOfNumbers--
}
do {
val result = retrieveData()
} while (result != null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment