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
10
Task/Pascals-triangle/Ring/pascals-triangle.ring
Normal file
10
Task/Pascals-triangle/Ring/pascals-triangle.ring
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
row = 5
|
||||
for i = 0 to row - 1
|
||||
col = 1
|
||||
see left(" ",row-i)
|
||||
for k = 0 to i
|
||||
see "" + col + " "
|
||||
col = col*(i-k)/(k+1)
|
||||
next
|
||||
see nl
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue