Square
Checks if a number is a square.
Syntax
square?(Integer)
Description
Given an integer , it is a square if there exists some integer such that . If the input is a square returns , otherwise, it returns false
.
Checks if a number is a square.
square?(Integer)
Given an integer , it is a square if there exists some integer such that . If the input is a square returns , otherwise, it returns false
.