Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var
- i, position: integer;
- s, buk, buk2:string;
- begin
- assign(input,'input.txt');
- reset(input);
- assign(output,'output.txt');
- rewrite(output);
- s:='qwertyuiopasdfghjklzxcvbnm';
- read(buk);
- for i:=1 to length(s) do
- if s[i] = buk then
- position:=i;
- buk2:=s [position + 1];
- write(buk2);
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement