write a program that utilizes looping to produce the following table of values:

A A+2 A+4 A+6
3 5 7 9
6 8 10 12
9 11 13 15
12 14 16 18
15 17 19 21

Okay, I did it, now what? What have you tried towards the problem?

I suggest you start by reading [thread=78223]this thread[/thread]

Your program will probably have this kind of a layout:

int main() {
  loop over the outer (start) values of 3,6,9,12 and 15
    loop over the inner (A+something) values
       print a line of 4 integers
}

I suggest that in future, you also use a title which is more descriptive. In this case, maybe "I need help with looping".

Don't forget to actually go read [thread=78223]this thread[/thread] before you post again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.