Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using std::cout;
  3. using std::endl;
  4.  
  5. int main(int argc, char* argv[])
  6. {
  7.     int x = 10;
  8.     while (x --> 0) // x goes to 0
  9.     {
  10.         cout << x << endl;
  11.     }
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement