2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -2,7 +2,7 @@
|
|||
options replace format comments java crossref symbols binary
|
||||
/*REXX program constructs & displays Floyd's triangle for any number of rows.*/
|
||||
parse arg numRows .
|
||||
if numRows == '' then numRows = 1 -- assume 1 row is not given
|
||||
if numRows == '' then numRows = 1 -- assume 1 row if not given
|
||||
maxVal = numRows * (numRows + 1) % 2 -- calculate the max value.
|
||||
say 'displaying a' numRows "row Floyd's triangle:"
|
||||
say
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue