Skip to content

rpub/shapes

Repository files navigation

Shapes Small Assignment

Given the code in this classes you are required to the following:

  1. Add the necessary code to show all Triangles and all Rectangles, base your code on the show all Ellipses code
		}else if (menuOption == 8){ // List all Triangles

		}else if (menuOption == 9){ // List all Rectangles

		}
  1. Add two additional classes: Equilateral to represent an equilateral triangle and Rhombus to represent a rhombus. Make sure that you declare this classes with their correct base classes, also make sure that you send the correct parameters to their constructors.

Remember to follow good programming practices, and to do the code yourself. It's OK to discuss with classmates, but not to share code. Submit by pushing to GitHub before the deadline.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published