Asked by Susie
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)
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)
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.