Saturday
October 25, 2014

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

computer sciece - #include <stdio.h> #include <stdlib.h> int main...
BUS 210 - Imagine that you are starting your own company. What will be the ...
computer programming - Construct a structure chart, as well as a flowchart and ...
ethics - Write a 1,750- to 2,450-word paper that formulates your personal code ...
Ms Visio - 2. Construct a data dictionary and draw a hierarchy chart and ...
computer science - Hi I have 3 output problems that I need assistance, thank you...
computer science - ineed help with c++. i am using code blocks and i have a ...
Computer Programming - Can anyone give me a site that contains a C source code. ...
Ethics and the Administration of Justice - Please Help!!! In previous weeks, ...
algebra - if there is a 4 digit code and the number choices are 0-9 and the last...

Search
Members