Skip to content

Instantly share code, notes, and snippets.

@YaseenTwati
Created May 5, 2016 05:30
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 YaseenTwati/e5745ba209051d3b333ee301d8400cee to your computer and use it in GitHub Desktop.
Save YaseenTwati/e5745ba209051d3b333ee301d8400cee to your computer and use it in GitHub Desktop.
prints 100
#include <iostream>
int main()
{
int i = 0;
for(i = 1; i < 100; i++)
{
if (i > 5)
continue;
i*=i;
}
std::cout << i << std::endl;
return(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment