Advertisement
faisal95

3

Jun 25th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main ()
  4. {
  5. char x;
  6. int i,c=0;
  7. for(i=1;i<=5;i++){
  8. scanf(" %c",&x);
  9. if( x=='A'|| x=='E'|| x=='I'|| x=='O'|| x== 'U'|| x=='a'|| x=='e'|| x=='i'|| x=='o'|| x=='u' ){
  10.  
  11. c++;
  12.  
  13. }
  14. }
  15. printf("%d\n",c);
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement