Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. '#include <stdio.h>
  2. #include<conio.h>
  3. int main()
  4. {int a,b,c=0,d=0,e=0,f=0,g=0,i;
  5. char string[10000];
  6. scanf("%d",&a);
  7. scanf("%s",string);
  8. for(i=0;i<a;a++)
  9. {if(string[i]==('a'))
  10. c=1;
  11. if(string[i]==('e'))
  12. d=1;
  13. if(string[i]==('i'))
  14. e=1;
  15. if(string[i]==('o'))
  16. f=1;
  17. if(string[i]==('u'))
  18. g=1;
  19. }
  20. if((c==1)&&(d==1)&&(e==1)&&(f==1)&&(g==1))
  21. printf("YES");
  22. else
  23. printf("NO");
  24. return 0;
  25. getch ();
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement