in reply to array in different columns
You don't show the code you've already written so I'm going to assume that this is homework.
Have you thought about whether the problem would be easier if your array contained different values?
How would you approach the problem if your array contained ten elements like the following:
@array = (0..9);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: array in different columns
by Muflone82 (Novice) on Nov 23, 2016 at 10:21 UTC | |
by Corion (Patriarch) on Nov 23, 2016 at 10:33 UTC | |
by Muflone82 (Novice) on Nov 23, 2016 at 11:08 UTC | |
by Corion (Patriarch) on Nov 23, 2016 at 11:31 UTC | |
by Muflone82 (Novice) on Nov 23, 2016 at 11:52 UTC | |
| |
by Muflone82 (Novice) on Nov 23, 2016 at 10:38 UTC |