Write pseudocode for accepting a number and check whether number is perfect square or not
Answers
Answered by
0
Answer:
Take the square root of the number.
Take floor/ceil/round of the square root which we got in step 1.
Subtract value we got in step 2 from the square root.
If the output of step 3 is 0 then the number is perfect square else not.
hope its help you
Similar questions