Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  11
Language: C/C++
Code:
program ggg;
var m,n,x,y:longint;
begin
read(m,n,x,y);
if x+1<=m then writeln(x+1,' ',y);
if x-1>0 then writeln(x-1,' ',y);
if y+1<=n then writeln(x,' ',y+1);
if y-1>0 then writeln(x,' ',y-1);
end.
          
Comments: