Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<cstring>
- using namespace std;
- char v[]="AEIOU";
- int main()
- {
- char i,j;
- for(i='A';i<='Z';i++)
- {
- for(j='A';j<='Z';j++)
- {
- if(i!=j && !(strchr(v,i)!=0) && (strchr(v,j)!=0))
- cout<<i<<" "<<j;
- cout<<endl;
- }
- }
- }
Add Comment
Please, Sign In to add comment