langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
8
Task/Integer-comparison/XPL0/integer-comparison.xpl0
Normal file
8
Task/Integer-comparison/XPL0/integer-comparison.xpl0
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
code IntIn=10, Text=12;
|
||||
int A, B;
|
||||
[A:= IntIn(0);
|
||||
B:= IntIn(0);
|
||||
if A<B then Text(0, "A<B^M^J");
|
||||
if A=B then Text(0, "A=B^M^J");
|
||||
if A>B then Text(0, "A>B^M^J");
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue