CS174: Module 12: C++ Inheritance Exercise 1 (1 Points)

Developed by Professor Tralie and Professor Mongan.

Exercise Goals

The goals of this exercise are:
  1. Work with classes and objects in C++
  2. Work with inheritance in C++
Override the celebrateBirthday() method in the Button class so that it subtracts one from the age for Button objects instead of adding to the age.
Welcome to our online modules system! Be sure to log in with your Urinus ID before you proceed. For example, Professor Tralie's ID is ctralie. If you are not an Ursinus student, that's fine! Just make something up, and you can still run everything