Skip to content

COMP301F24/OOP-Pillars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

u02-encapsulation

in class exercise for u02 updated Fall 2024

Part 1: Non OO Design

Fill in the body of the following methods in Main: triangle_category triangle_area

Use the test methods to ensure they are working properly.

Part 2: Now with OO

Using what we learned, refactor the code to be object oriented with at least 2 objects: Point Triangle