Skip to content

fix program 25 to behave as described in comment - #32

Merged
jackdoe merged 1 commit into
jackdoe:masterfrom
mbkulik:4917-program-25-fix
Jan 18, 2023
Merged

fix program 25 to behave as described in comment#32
jackdoe merged 1 commit into
jackdoe:masterfrom
mbkulik:4917-program-25-fix

Conversation

@mbkulik

@mbkulik mbkulik commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

Currently 25.prg produces different output than is described in the comment # print 14, 12, 10, ... 0.

As written, it produces the following output:

0
12
10
8
6
4
2

The following PR, modifies 25.prg to produce the output as described in the program comment.

14
12
10
8
6
4
2
0

@jackdoe
jackdoe merged commit 476732c into jackdoe:master Jan 18, 2023
@jackdoe

jackdoe commented Jan 18, 2023

Copy link
Copy Markdown
Owner

thanks a lot for finding this out!
i will make a note for it on the webpage as well, and make sure i use it when i re-print the deck

@jackdoe

jackdoe commented Jan 18, 2023

Copy link
Copy Markdown
Owner

i added attribution with 9fee9c9, you can see it at the bottom of the page: https://punkx.org/4917/

thanks again for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants