Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- int main()
- {
- char s[ 256 ], k = 0;
- cin.get(s, 256);
- for(int i = 0; i < strlen(s); i++)
- if(strchr("aeiou", s[ i ]) == true){
- s[ i ] = s[ i ] - 32; k++; }
- cout << s << endl << k << " vocale;";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement