Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Stack/M2000-Interpreter/stack-1.m2000
Normal file
15
Task/Stack/M2000-Interpreter/stack-1.m2000
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Module Checkit {
|
||||
a=Stack
|
||||
Stack a {
|
||||
Push 100, 200, 300
|
||||
}
|
||||
Print StackItem(a, 1)=300
|
||||
Stack a {
|
||||
Print StackItem(1)=300
|
||||
While not empty {
|
||||
Read N
|
||||
Print N
|
||||
}
|
||||
}
|
||||
}
|
||||
Checkit
|
||||
Loading…
Add table
Add a link
Reference in a new issue