Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Artikel.h"
- #include "AudioCD.h"
- #include <iostream>
- using std::cout;
- int main()
- {
- Artikel::Artikel stuff;
- stuff.PlaatsArtikel("Chocolate", 1.99);
- cout << "One " << stuff.GetName() << " costs: $" << stuff.GetPrice() << "\n";
- AudioCD::AudioCD single;
- single.PlaatsArtikel("Bad Aplle!!", 1200, "Nomico", 4);
- cout << "The Single " << single.GetName() << " costs: ¥";
- cout << single.GetPrice() << "\nArtist: " << single.GetArtist();
- cout << " It contains " << single.GetHowManyTracks() << " Tracks.\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement