Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Welcome to the geometric application
- LinkedList version.
- # of rectangles: 0
- # of triangles: 0
- # of circles: 0
- ********************
- *****Create & store the shapes*****
- Atemppting to store Rectangle1.
- Status = Success
- Atemppting to store Rectangle2.
- Status = Success
- Atemppting to store Rectangle2.
- Status = Failed
- Atemppting to store Triangle1.
- Status = Success
- Atemppting to store Triangle2.
- Status = Success
- Atemppting to store Triangle3.
- Status = Success
- Atemppting to store Circle1.
- Status = Success
- Current Storage:[Rectangle1, Rectangle2, Triangle1, Triangle2, Triangle3, Circle1]
- # of rectangles: 2
- # of triangles: 3
- # of circles: 1
- ********************
- Attempting to remove Triangle3.
- Triangle3 has been removed.
- Attempting to remove Triangle3.
- Triangle3 already exists and could not be removed.
- Current Storage:[Rectangle1, Rectangle2, Triangle1, Triangle2, Circle1]
- *****Display descriptions of the shapes*****
- ShapeStorage2
Advertisement
Add Comment
Please, Sign In to add comment