Solved i need a nested loop or a program having nested loop?

September 7, 2015 at 07:03:18
Specs: Windows 7, ram
i nees a nested loop for a program having output
1 2 3 4
1 4 9 16
1 8 27 64
plz help me by developing such a program

See More: i need a nested loop or a program having nested loop?

Report •

#1
September 8, 2015 at 01:33:14
✔ Best Answer
looks like homework, but as far as it goes, you just need a 4-element storage (array) and increment the exponent for each element for each line x number of iterations. I'm sure there's a made-to-order solution already out there somewhere that Google can find, but best if you can torque it yourself. good luck!

Report •
Related Solutions


Ask Question