Lab #1 in OOP C++ course