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