Copyright  © – Sudharsan Iyengar

 

CS – 234.                    Lab 3.              Creating Library Functions    9/18/24

 

How to create Library functions (using static modifier).

 

You are required to write an application that can be used to obtain important geometric properties of circles and squares. In order to do that we will develop a utility class that can have library functions to do the calculations.

 

Save your document and export your project to your folder for this class in \\files\classes.

 

Expand the lab to include other 2-d and 3-d shapes like: rectangle, triangle, cube, sphere, prism, cone etc. Address the needs of one shape at a time and implement that feature. You may want to comment sections of code as you test the new feature added.