Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

colums Need help!!

 
Rose Evans
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how you make columns to output in your program
I am trying to make something like this..

1 2 3 4 5
6 7 8 9 10
11 12 13 14 15

and so on.
 
Rose Evans
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant to say columns...oops.
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what is the exact problem you are facing?

Just use two loops

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic