Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #include "Artikel.h"
  2. #include "AudioCD.h"
  3. #include <iostream>
  4. using std::cout;
  5.  
  6. int main()
  7. {
  8. Artikel::Artikel stuff;
  9. stuff.PlaatsArtikel("Chocolate", 1.99);
  10. cout << "One " << stuff.GetName() << " costs: $" << stuff.GetPrice() << "\n";
  11.  
  12. AudioCD::AudioCD single;
  13.  
  14. single.PlaatsArtikel("Bad Aplle!!", 1200, "Nomico", 4);
  15.  
  16. cout << "The Single " << single.GetName() << " costs: ¥";
  17. cout << single.GetPrice() << "\nArtist: " << single.GetArtist();
  18. cout << " It contains " << single.GetHowManyTracks() << " Tracks.\n";
  19.  
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement