how to do this??
0 1 0 1
0 1 0 1
0 1 0 1
0 1 0 1
plis help!

Recommended Answers

All 5 Replies

how to do this??
0 1 0 1
1 0 1 0
0 1 0 1
1 0 1 0
plis help!

Member Avatar for hfx642

Each problem can be solved with 3 nested loops.
YOU figure it out. It's YOUR homework.

I thought you need only 2 nested loops for each problem but each has a different initial value. :P

Member Avatar for hfx642

Well... I (and most people) could actually do it with 2, but I was just trying to make it easier for them. That's why I suggested 3.

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.