Post a New Question

Computer Science

posted by .

Hi can you guys help me with these output code, I think you need to include for loops, but I'm not sure how to use it. Example code would be helpful, thanks.

Produce Output
For each problem, you are to produce the code, in JAva, to create the following output to the screen.

1.
+
+++0
++++++00
++++++++++000
... (this pattern continues forever)

2.
5 6 7 8 9 10
5 7 9 11 13 15
5 8 11 14 17 20
... (the pattern continues forever)

3.
0 2 4 6 8 10
1 3 5 7 9 11
3 5 7 9 11 13
6 8 10 12 14 16
... (pattern continues forever)

Answer This Question

First Name
School Subject
Your Answer

Related Questions

More Related Questions

Post a New Question