1. Square a Number

Given an integer a. Write a function int Square(int a) that returns the square of that number.
Example 1
Input: a = 5
Output: 25
Explanation: 5 * 5 = 25
Example 2
Input: a = -4
Output: 16
Explanation: -4 * -4 = 16
Example 3
Input: a = 0
Output: 0
Explanation: 0 * 0 = 0
easy
JavaScript
Loading...
Line 1, Char 1