Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* TAHMID RAHMAN
- DAMIAN FOREVER
- MATH LOVER
- NEVER GIVE UP
- */
- #include<bits/stdc++.h>
- using namespace std;
- #define pi acos(-1.0)
- #define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
- #define ll long long
- #define pb push_back
- #define fi first
- #define se second
- #define in insert
- #define mp make_pair
- #define GCD(a,b) __gcd(a,b);
- #define endl "\n"
- #define FRU freopen("out.txt","w",stdout)
- #define FRO freopen("in.txt","r",stdin)
- #define INFLL 9223372036854775807
- //Don't hesitate to ask me if you don't understand my code.......Happy coding,Tahmid...;
- int main()
- {
- fastio;
- string s1,s2,s3,s4="";
- cin>>s1>>s2;
- s3=s1+s2;
- ll i;
- for(i=0;i<s3.size();i++)
- {
- if(s3[i]=='A'||s3[i]=='a')
- continue;
- else if(s3[i]=='E'||s3[i]=='e')
- continue;
- else if(s3[i]=='I'||s3[i]=='i')
- continue;
- else if(s3[i]=='O'||s3[i]=='o')
- continue;
- else if(s3[i]=='U'||s3[i]=='u')
- continue;
- else
- {
- s4+=s3[i];
- }
- }
- cout<<s4<<endl;
- cout<<s4.size()<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement