
-----------------------------------
JWHooper
Sun Feb 24, 2008 10:23 pm

Loop (continued)
-----------------------------------
I'm having a little difficulty on this one:

Use nested loops that print the following pattern.

1 2 3 4 5 6
  1 2 3 4 5
    1 2 3 4
      1 2 3
        1 2
          1


Here's what I did:

#include 
#include 
using namespace std;

int main()
{
	for (int i = 6; i >= 1; i--)
	{
		for (int j = 1; j 