Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Cristopher Tapia
- // 9-12-2014
- // Homework 02
- //
- #include <iostream>
- #include <string>
- using namespace std;
- int main(void)
- {
- String color;
- cout << "Write a color:" << " " << endl;
- cin >> color;
- cin.ignore(999, '\n');
- String superlative;
- cout << "Superlative (ending is 'est'):" << endl;
- cin >> superlative
- cin.ignore(999, '\n');
- cin.ignore(999, '\n');
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement