-
Notifications
You must be signed in to change notification settings - Fork 0
/
test8.txt
44 lines (37 loc) · 948 Bytes
/
test8.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Main = { $call = { id = 0 } }
Event = {
id = 0
$local = { i j }
$assign = { $local.i value = { 1 } }
$while = {
condition = {
$COMP<EQ = { $local.i 9 }
}
then = {
$assign = { $local.j value = { 1 } }
$while = {
condition = {
$COMP<EQ = { $local.j 9 }
}
then = {
$if = {
condition = { $EQ = { 0 $modular = { $local.j 2 } } }
then = {
$print = { data = { $local.i } }
$print = { data = { " * " } }
$print = { data = { $local.j } }
$print = { data = { " = " } }
$print = { data = { $multiple = { $local.i $local.j } } }
$print = { enter = { \n } }
}
}
$assign = { $local.j value = { $add = { 1 $local.j } } }
}
}
$print = { data = { ------- } }
$print = { enter = { \n } }
$assign = { $local.i value = { $add = { 1 $local.i } } }
}
}
$_getch = { }
}