Challenge 21
🟩
Is Square?
Create a function which takes in a number as a parameter and returns whether it is a square number
Examples:
isSquare(1) returns true
isSquare(64) returns true
isSquare(65) returns false
Extension:
Output the first 100 square numbers
Also output the 'jump' between consecutive squares - for example, the squares 0, 1, 4 would have a jump of 1, 3 - is there a pattern? If so, is there a formula you can think of to represent this?