A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
14
Task/Multiplication-tables/E/multiplication-tables.e
Normal file
14
Task/Multiplication-tables/E/multiplication-tables.e
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
def size := 12
|
||||
println(`{|style="border-collapse: collapse; text-align: right;"`)
|
||||
println(`|`)
|
||||
for x in 1..size {
|
||||
println(`|style="border-bottom: 1px solid black; " | $x`)
|
||||
}
|
||||
for y in 1..size {
|
||||
println(`|-`)
|
||||
println(`|style="border-right: 1px solid black;" | $y`)
|
||||
for x in 1..size {
|
||||
println(`| ${if (x >= y) { x*y } else {""}}`)
|
||||
}
|
||||
}
|
||||
println("|}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue