Shapes Calculator Simple

Basic explaination

First, you choose a shape. The available shapes are circles, rectangles, and triangles. The functions include perimeter, area, etc.


First, enter the shape number (1. Circle; 2. Rectangle; 3. Triangle). Then choose a function. Then enter the information about the shape as directed.

Step-By-Step Images

How It Works

First, there are four classes (3 classes for the shapes, and a tester class). It uses if statements to find the methods that are inputted from the keyboard.


Rectangles in Tester
Rectagles Class

Methods Used

Return Home