AlexeySychev

Untitled

May 12th, 2020
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.35 KB | None | 0 0
  1. program program3;
  2. var i,n, x:integer;
  3. b:string;
  4. a : array [1..10000] of integer;
  5. glasn : array of char := ('а', 'и', 'ё', 'е', 'о', 'у', 'ы', 'э', 'ю', 'я','А', 'И', 'Ё', 'Е', 'О', 'У', 'Ы', 'Э', 'Ю', 'Я');
  6. begin
  7. readln(b);
  8. x := length(b);
  9. for i:=1 to x do
  10.   begin
  11.     if b[i] in glasn then
  12.       n:=n+1;
  13.   end;
  14. writeln(n);
  15. end.
Add Comment
Please, Sign In to add comment