Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Multiplication-tables/Phix/multiplication-tables.phix
Normal file
11
Task/Multiplication-tables/Phix/multiplication-tables.phix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
printf(1," | ")
|
||||
for col=1 to 12 do
|
||||
printf(1,"%4d",col)
|
||||
end for
|
||||
printf(1,"\n--+-"&repeat('-',12*4))
|
||||
for row=1 to 12 do
|
||||
printf(1,"\n%2d| ",row)
|
||||
for col=1 to 12 do
|
||||
printf(1,iff(col<row?" ":sprintf("%4d",row*col)))
|
||||
end for
|
||||
end for
|
||||
Loading…
Add table
Add a link
Reference in a new issue