Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string.h>
- using namespace std;
- int main()
- {
- cout<<"nr problemei:";
- int pb; cin>>pb;
- switch(pb){
- case 1:{//7/5
- char c[]="ana are mere";
- for (int i=strlen(c); i>=0; i--){
- if (!strchr("aeiou", c[i])){
- for (int j=i; j<strlen(c); j++){
- c[j]=c[j+1];
- }
- break;
- }
- }
- cout<<c;
- break;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement