Програма | Екран |
---|---|
Program P1; Var x:integer; Begin X:=10; x:=5; Writeln(x); End. | 5 |
Програма | Екран |
---|---|
Program P2; Var x:integer; Begin X:=10; Writeln(x); x:=5; Writeln(x); End. | 10 5 |
Програма | Екран |
---|---|
Program P3; Var x:integer; Begin X:=10; x:=x+7; Writeln(x); End. | 17 |
Програма | Екран |
---|---|
Program P4; Var x:integer; Begin X:=10; y:=5; y:=x+1; Writeln(x,’ ‘,y); End. | 10 11 |
Програма | Екран |
---|---|
Program P5; Var x,y:integer; Begin X:=10; y:=5; y:=x; Writeln(x,’ ‘,y); End. | 10 10 |
Program P6; Var x,y:integer; Begin X:=10; y:=5; x:=y; Writeln(x,’ ‘,y); End. | 5 5 |