Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<cstring>
- using namespace std;
- char s[101],*p;
- int main()
- {
- int;
- cin.getline(s,100);
- p=strtok(s," ");
- while(p!=0)
- {
- if (strstr(p,"DO") || strstr(p,"RE") || strstr(p,"MI") ||
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement