Guest User

Untitled

a guest
Apr 1st, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main()
  7. {
  8.  
  9. do {
  10. string name;
  11. string ready;
  12. cout << "What is your name?" << endl;
  13. cin >> name;
  14. cout << "Your name is " << name << "?" << endl;
  15. cin >> ready;
  16. } while ( ready != "yes" );
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment