Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ch,res:string;i:integer;
- Begin
- Repeat
- writeln('CH: ');
- readln(ch);
- until(ch<>'');
- res:='';
- For i:=1 to length(ch) do
- Begin
- ch[i]:=upcase(ch[i]);
- if ch[i] in['A','E','I','O','U','Y'] then res:=res+ch[i];
- End;
- writeln('CH: ',ch);
- writeln('Res: ',res);
- End.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement