Advertisement
Guest User

Untitled

a guest
Mar 17th, 2014
1,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. /* explanation of http://codegolf.stackexchange.com/questions/24304/why-isnt-it-ending/24361#24361 */
  2.  
  3. int main() {
  4.  
  5. int x = 0;
  6.  
  7. while (x < 10)
  8. do {
  9. x++;
  10. } while (x-- > 0);
  11.  
  12. while (x > -10)
  13. x--;
  14.  
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement