Advertisement
jabela

NumberDIamond

Feb 19th, 2019
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Challenge: Create a number diamond like this!
  2.  
  3. 1
  4. 1 2 1
  5. 1 2 3 2 1
  6. 1 2 3 4 3 2 1
  7. 1 2 3 4 5 4 3 2 1
  8. 1 2 3 4 5 6 5 4 3 2 1
  9. 1 2 3 4 5 6 7 6 5 4 3 2 1
  10. 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1
  11. 1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1
  12. 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1
  13. 1 2 3 4 5 6 7 6 5 4 3 2 1
  14. 1 2 3 4 5 6 5 4 3 2 1
  15. 1 2 3 4 5 4 3 2 1
  16. 1 2 3 4 3 2 1
  17. 1 2 3 2 1
  18. 1 2 1
  19. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement