Alright, so I wrote a prgm to calculate a hexagon based pyramid;
Now I want to clean it up; Title, displaying multiple answers, if possible have low case letters..
Basically the final prgm would be called Pyramid and would have a list with regular bases; triangle, rectangle, penta, hexa, octo.
after selecting the base It would prompt you for variables, then give you multiple answers.
For example;
Hexagon based pyramid;
Variables:
one side of the hexagon (A)
The pyramid's apothem (B)
Displayed answers;
Hexagon apothem
Pyramid apothem
Pyramid height
Hexagon area
Lateral area
Volume
This is how I thought it would be written...
But I get a syntax error.

Now I want to clean it up; Title, displaying multiple answers, if possible have low case letters..
Basically the final prgm would be called Pyramid and would have a list with regular bases; triangle, rectangle, penta, hexa, octo.
after selecting the base It would prompt you for variables, then give you multiple answers.
For example;
Hexagon based pyramid;
Variables:
one side of the hexagon (A)
The pyramid's apothem (B)
Displayed answers;
Hexagon apothem
Pyramid apothem
Pyramid height
Hexagon area
Lateral area
Volume
This is how I thought it would be written...

But I get a syntax error.