Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Pascals-triangle/IS-BASIC/pascals-triangle.basic
Normal file
12
Task/Pascals-triangle/IS-BASIC/pascals-triangle.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
100 PROGRAM "PascalTr.bas"
|
||||
110 TEXT 80
|
||||
120 LET ROW=12
|
||||
130 FOR I=0 TO ROW
|
||||
140 LET C=1
|
||||
150 PRINT TAB(37-I*3);
|
||||
160 FOR K=0 TO I
|
||||
170 PRINT USING " #### ":C;
|
||||
180 LET C=C*(I-K)/(K+1)
|
||||
190 NEXT
|
||||
200 PRINT
|
||||
210 NEXT
|
||||
Loading…
Add table
Add a link
Reference in a new issue