SelinD

V92s3ex4

Apr 2nd, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<iostream>
  2. #include<cstring>
  3. using namespace std;
  4. char v[]="AEIOU";
  5. int main()
  6. {
  7. char i,j;
  8. for(i='A';i<='Z';i++)
  9. {
  10. for(j='A';j<='Z';j++)
  11. {
  12. if(i!=j && !(strchr(v,i)!=0) && (strchr(v,j)!=0))
  13. cout<<i<<" "<<j;
  14. cout<<endl;
  15. }
  16. }
  17. }
Add Comment
Please, Sign In to add comment