Object-Oriented Programming (OOP) Basics

Challenge Instructions

Expected Output

Code Editor

cpp
Hello! I'm here to assist you with the code. What seems to be the problem?
Why is my code throwing a type error on line 5?