Algorithm...Help Needed
Thanks for your time. I need to write a small program that will display all numbers from 1 - 100 that are perfect squares. I am obviously a beginner, and any help would be appreciated. I am just now up to using select case blocks, if blocks, and loops. I'm not sure how to set up the algorithm to find the numbers that are perfect squares. I plan on using a select case block for calculations, and I obviously need a loop until > 100 statement, but I do not know how to get the square root of the numbers and compare them to the square root of the integers. I assume that the last part means that I have to tell the program to display the number only if it is both a square root of a number between 1-100, and a a whole number. Anyone? Thanks again for any help you can provide.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

joy.simpsonRank #4,292 · 353 reputationPosted Apr 9, 2004, 1:07 PM EDT
jem5555 reputationPosted Apr 9, 2004, 11:50 PM EDT