daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Sep 18th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cstring>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     char s[ 256 ], k = 0;
  9.     cin.get(s, 256);
  10.     for(int i = 0; i < strlen(s); i++)
  11.         if(strchr("aeiou", s[ i ]) == true){
  12.             s[ i ] = s[ i ] - 32; k++; }
  13.  
  14.         cout << s << endl << k << " vocale;";
  15.     return 0;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top