CS304 Assignment No 2 (Last Date Dec 10)
Keeping in view the above class diagram, you have to write code for the below mentioned classes and show their relationship with each other:
1. Class Bus:
2. Class passenger:
Hint: You have to implement the relationship of aggregation between class “bus” and “passenger” through C++ code.