Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include<iostream>
  2. const int max = 100;
  3. using namespace std;
  4. int main() {
  5. setlocale(0, "");
  6. char a[max];
  7. cin.getline(a, max);
  8. if (strcmp(a, "How are you?") == 0)
  9. {
  10. cout << "I'm good";
  11. }
  12. cin.get(); cin.get();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement