Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i j
- -- --
- 0 1
- 1 2
- 2 3
- 3 4 --> increment j by 1
- 0 2
- 2 4 --> increment j by 2
- 0 3 --> Looping ends as next number is 6>n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement