Square

Report a typo

Declare the function named countSquare that takes a number and returns its square.

Sample Input 1:

2

Sample Output 1:

4

Sample Input 2:

1

Sample Output 2:

1
Write a program in JavaScript
// write your function here
___

Create a free account to access the full topic