Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main()
- {
- string alphabet = "abcdefghijklmnopqrstuvwxyz";
- string str;
- getline(cin, str);
- for (int i = 0; i < alphabet.size(); i++)
- {
- if (str.find(alphabet[i]) == string::npos && str.find(toupper(alphabet[i])) == string::npos)
- {
- cout << alphabet[i];
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement