Magic square problem C++? ?
how do i make program in which computer tell me what are the perfect squares.
Ex. 6^2 = 36 which sum of 1.. to.. 8 = 36
how do i make it program using loop so it give me that 36 is perfect squrs and it would find next one (1225) and next one and so on...(i think max u can find it 4 or 6).
can you show me loop example? for this type of problem?