Skip to content

Instantly share code, notes, and snippets.

@nedzadarek
Created April 13, 2013 14:47
Show Gist options
  • Save nedzadarek/5378688 to your computer and use it in GitHub Desktop.
Save nedzadarek/5378688 to your computer and use it in GitHub Desktop.
List of float from 1 to 2, step is 0.2
for (double i = 1; i < 2; (i += 0.2))
cout << i<< endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment