HOMEWORK PROBLEM 9 INTRODUCTION TO Ada 95 586 PURPOSE: To learn more about Ada 95 object oriented programming and how to use it, some uses of child packages, class wide types, and polymorphism. END RESULT: A complete Ada program that is a main procedure that WITH's a package you write containing more types of figures. PROBLEM: Write a package that has a shape derived from the Figure type. Do minimum editing to a copy of the Rectangle_Pkg to make a Diamond_Pkg and define a Diamond type. Add corresponding tests in the main procedure FigureC to test your Diamond type. NOTE: A diamond just has a height and width like a rectangle. This is meant to be easy. The extra credit is much harder. EXTRA CREDIT: Make a child package of the child package Figure_Pkg.Circle_Pkg for an ellipse. The package would be called Figure_Pkg.Circle_Pkg.Ellipse_Pkg . Make the type Ellipse from the type Circle by adding one item to the record called Y_Radius. Add the corresponding tests to FigureC for your new type Ellipse OBSERVE: Watch the naming conventions. They get long. READING: BARNES 12.3 13.1 .. 13.5 ISO 8652:1995 3.9, 3.10, 10.