Skip to content

Instantly share code, notes, and snippets.

@kjk
Created November 7, 2019 07:35
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 kjk/dd1676d3d076c48ae0d2fafa375804e8 to your computer and use it in GitHub Desktop.
Save kjk/dd1676d3d076c48ae0d2fafa375804e8 to your computer and use it in GitHub Desktop.
// :glot
#include <iostream>
using namespace std;
auto main() -> int
{
int i = 0;
do
{
std::cout << i;
++i;
if (i > 5) {
break;
}
}
while (true);
std::cout << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment