Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6. string s;
  7. int count=0;
  8. cin>>s;
  9. for(int i=0; i<s.size(); i++)
  10. {
  11. if(s[i]!='a' || s[i]!='e' || s[i]!='i' || s[i]!='o' || s[i]!='u')
  12. {
  13. count++;
  14. }
  15. }
  16. cout<<count;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement