Problem: calculating the area of a square

The first exercise from this theme is the following : write a console program that reads a whole number a and calculates the area of a square with side a. The task is trivial and easy: read a number from the console, multiply it by itself and print the received result on the console.

results matching ""

    No results matching ""