Maybe you should copy exactly what your homework assignment says because from what i have read there is no need to use a nested loop. You shouldn't have any trouble at all with this stuff it is really easy, just think a little and write down a flowchart or pseudocode before you start to write your program. It will seem much easier then.
__________________ \"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla |