Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Can you see how these two loops are different
  2.  
  3.  
  4.  
  5.  
  6. for ( // loop 10 times ) {
  7. if (some condition) {
  8. // do something
  9. } else {
  10. // do something else
  11. }
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. for (// loop 10 times) {
  20. if (some condition) {
  21. // do something
  22. }
  23. }
  24. // do something else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement