I'm using the do-while loop in one of my programs but the thing is that the other codes after the do-while loop won't work. It's like there are no codes beyond the do-while loop. (Though I was able to compile and run the program.) What can I do to fix this? :)
Could it be that it just loops for a long time because 5th perfect number is so big? Either that, or there is something wrong with the algorithm and it loops infinitely..