Talk:Floyd's triangle: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Output: A change is gonna come.)
Line 7: Line 7:
* Has to be shown
* Has to be shown
* Has to be formatted just-so.<br>--[[User:Paddy3118|Paddy3118]] 19:17, 24 June 2012 (UTC)
* Has to be formatted just-so.<br>--[[User:Paddy3118|Paddy3118]] 19:17, 24 June 2012 (UTC)

I am changing the output from print n=5 and n=15 to '''n=5 and n=14''' to highlight the case of what should be done when the number of digits in the numbers of the last row changes, and is not the last digit itself. In this case, column widths need to change. Sorry Go language (but thanks for the quick example). The reason is, that I am trying to be more rigourous about the output format than in [[Pascal's triangle]]. --[[User:Paddy3118|Paddy3118]] 06:52, 25 June 2012 (UTC)

Revision as of 06:52, 25 June 2012

Inspiration

I need to add a link to Vihart.

Can the colour of the font of just the task description be changed to pink? (A Dark side of the moon joke). --Paddy3118 19:13, 24 June 2012 (UTC)

Output

  • Has to be shown
  • Has to be formatted just-so.
    --Paddy3118 19:17, 24 June 2012 (UTC)

I am changing the output from print n=5 and n=15 to n=5 and n=14 to highlight the case of what should be done when the number of digits in the numbers of the last row changes, and is not the last digit itself. In this case, column widths need to change. Sorry Go language (but thanks for the quick example). The reason is, that I am trying to be more rigourous about the output format than in Pascal's triangle. --Paddy3118 06:52, 25 June 2012 (UTC)