Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- const char* gok = "doggo";
- string gOk;
- cout << "gok is ";
- getline(cin, gOk);
- if (gOk == "doggo"){
- cout << "gr8 memj" << endl;
- } else {
- cout << "kys fggt" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement