posted 13 years ago
Hi! I'm working on a method that takes in an array called number and returns its contents to be printed in a diagonal like so:
with tabs in between and each element printed on a new line.
Here is my method which is obviously very wrong but its what I have.
Just cant figure out how to incorporate the new line into a loop or object for that matter.
Thanks,
-John