Question: This is a C++ assignment, please provide text of code, as well as a screenshot of code output. Thank you! This program will be as
This is a C++ assignment, please provide text of code, as well as a screenshot of code output. Thank you!

This program will be as simple as I can make it since you'll have entire classes devoted to it in University. 1. Make Square and Circle classes. 2. Make a base class for both called Shape 3. Two methods:SetSize and GetArea 4. (Size of an edge for square and the radius for circle) 5. Put those two methods where you think they should go. Avoid duplication and make sure Shape is polymorphic To test these classes, do the following 1. Make a vector of Shape pointers 2. (If you haven't ever seen vectors, it's "std::vector
Step by Step Solution
There are 3 Steps involved in it
Ill write a C program that fulfills the requirements The program will define a base class Shape and ... View full answer
Get step-by-step solutions from verified subject matter experts
