Geometry calculators in JavaScript

Задание 1

Make a calculator that will find the area and perimeter of a square.

Задание 2

Make a calculator that will find the area and perimeter of a rectangle.

Задание 3

Make a calculator that will obtain the area and circumference of a circle.

Задание 4

Make a calculator that will obtain the area of a triangle by three sides.