Wednesday
May 27, 2015

Homework Help: Computer Science

Posted by Susie on Friday, May 28, 2010 at 10:34am.

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:
Answer:

Related Questions

Members