Nested for loop Java text output
I have been trying to write a method called printDesigns that uses nested
for loops to output this:
-----1-----
----333----
---55555---
--7777777--
-999999999-
The dashes decrease by one on each side, I know its hard to see.
No comments:
Post a Comment