Skip to content

Instantly share code, notes, and snippets.

@mildocjr
Created August 10, 2018 03:02
Show Gist options
  • Select an option

  • Save mildocjr/e0bfba54abafc31ce87a1191e4a03941 to your computer and use it in GitHub Desktop.

Select an option

Save mildocjr/e0bfba54abafc31ce87a1191e4a03941 to your computer and use it in GitHub Desktop.
while-issue-2
var count: Double = -100
while -100 < 25.0 {
count += -3.75
}
// Still don't see it? Let's simplify.
var count = -100
while count < 25 {
count = count - 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment