Square of Number Problem

Square of Number Problem — ExecCode School DSA Practice

Solve the Square of Number problem on ExecCode. Free online school DSA practice in Combined Simple Logic. Write and run code in Java, C++, Python — no signup required to run.

Problem description

You are given a whole number N. Your task is to find the square of N. The square of N is the value you get when you multiply N by itself.

Examples

Input 5; Output 25. Input 10; Output 100

Constraints

-1000 <= N <= 1000

Practice Square of Number free on ExecCode. Browse DSA problems, topic map, and placement guides.