Hey all,
I need some help with an application which needs to read data into an array using methods and then write it back out into a 5x5 table

so i would read int 25 digits say: 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4


and it would print
0 1 2 3 4
5 6 7 8 9
0 1 2 3 4
5 6 7 8 9
0 1 2 3 4

anyone

Hello, beforehand, sorry for my english...
You can read your data into String, the split it by " ". And you'll have an array of symbols. To print it, you can use 2 cycles: (1st - from 0 to arrayLength; 2nd- from 0 to (columCount and arrayLength if you can have strings with not equal length))

@Antenka: he doesn't want the logic behind the solution, he wants the code to be handed to him (and if possible, a nice degree to go with it)

commented: For bringing me down to earth ... :) +1

stultuske: I'm optimist, so I prefer to think, that he wants to get some knowleges :)

stultuske: I'm optimist

we all started like that ;)
but you'll see tons of questions like this where the thread-starter doesn't even bother to write the main-method himself.. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.