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.
zero marks oh
ismain error hai
Is ka output to yeah nikalta hy bhai
yeh galhat hai ooor her taraf shanti hai
this is wrong code, in this file there is no use of OOP , its just cin & cout..
the purpose of remaining code is to just confuse......
i removed the "class" code and still its giving same output .... see urself
Bad Idea.................... where is classes and their attributes and methods and aggregation
KOI HA JO IS KO SOLVE KAR SAKE
anyone solve it ??????