paperjam

dormamu.cpp

Jun 13th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class Dormammu
  6. {
  7.  
  8. public:
  9.     bool bargain(){return false;}
  10.  
  11. };
  12.  
  13. int main()
  14. {
  15.  
  16.   Dormammu dormammu;
  17.  
  18.   do
  19.   {
  20.     cout << "DORMAMMU, I've come to bargain!" << endl;
  21.   }
  22.   while (!dormammu.bargain());
  23.  
  24.   return (0);
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment