Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. // Cristopher Tapia
  2. // 9-12-2014
  3. // Homework 02
  4. //
  5.  
  6. #include <iostream>
  7. #include <string>
  8. using namespace std;
  9.  
  10. int main(void)
  11. {
  12. String color;
  13. cout << "Write a color:" << " " << endl;
  14. cin >> color;
  15. cin.ignore(999, '\n');
  16.  
  17. String superlative;
  18. cout << "Superlative (ending is 'est'):" << endl;
  19. cin >> superlative
  20. cin.ignore(999, '\n');
  21.  
  22.  
  23.  
  24. cin.ignore(999, '\n');
  25. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement