Skip to content

Instantly share code, notes, and snippets.

@jahlelin
Created July 20, 2019 20:38
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 jahlelin/5260d78249a25a8d5e3b36123994e4a8 to your computer and use it in GitHub Desktop.
Save jahlelin/5260d78249a25a8d5e3b36123994e4a8 to your computer and use it in GitHub Desktop.
// This is a while loop
#include <iostream>
using namespace std;
int main()
{
int num = 25;
while (num > 14)
{ cout << num << endl;
num--;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment