// Course: CS 12 // Lecture Section: 1 // Lab Section: 21 // Assignment #: In-lab exercise 4 // First Name: Wagner // Last Name: Truppel // ID Number: 12-345-678 // Email address: wagner@cs.ucr.edu // ======================================================================= #include int main() { int length = 5; Point center_pt(10, 18); Square sq(length, center_pt); sq.draw(); std::cout << std::endl << "Object " << sq << ", of derived class Square, about to call center()." << std::endl; sq.center(); int radius = 4; center_pt = Point(7, 4); Circle circ(radius, center_pt); circ.draw(); std::cout << std::endl << "Object " << circ << ", of derived class Circle, about to call center()." << std::endl; circ.center(); return 0; }