Advertisement
TAHMID37

shafin

Jun 2nd, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.15 KB | None | 0 0
  1. /*  TAHMID RAHMAN
  2.     DAMIAN FOREVER
  3.      MATH LOVER
  4.     NEVER GIVE UP
  5. */
  6. #include<bits/stdc++.h>
  7. using namespace std;
  8. #define pi acos(-1.0)
  9. #define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
  10. #define ll long long
  11. #define pb push_back
  12. #define fi first
  13. #define se second
  14. #define in insert
  15. #define mp make_pair
  16. #define GCD(a,b) __gcd(a,b);
  17. #define endl "\n"
  18. #define FRU freopen("out.txt","w",stdout)
  19. #define FRO freopen("in.txt","r",stdin)
  20. #define INFLL 9223372036854775807
  21. //Don't hesitate to ask me if you don't understand my code.......Happy coding,Tahmid...;
  22. int main()
  23. {
  24.     fastio;
  25.     string s1,s2,s3,s4="";
  26.     cin>>s1>>s2;
  27.     s3=s1+s2;
  28.     ll i;
  29.     for(i=0;i<s3.size();i++)
  30.     {
  31.         if(s3[i]=='A'||s3[i]=='a')
  32.             continue;
  33.         else if(s3[i]=='E'||s3[i]=='e')
  34.             continue;
  35.         else if(s3[i]=='I'||s3[i]=='i')
  36.             continue;
  37.         else if(s3[i]=='O'||s3[i]=='o')
  38.             continue;
  39.         else if(s3[i]=='U'||s3[i]=='u')
  40.                 continue;
  41.         else
  42.         {
  43.             s4+=s3[i];
  44.         }
  45.     }
  46.     cout<<s4<<endl;
  47.     cout<<s4.size()<<endl;
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement