Commit 970cc19
committed
Improve use of comments in exercise 6-4
Both sketches start out wrapped by a multi line comment, so they are disabled
by default. Removing the multi line comment around a sketch will enable it.
The line where the student is supposed to type the answer (indicated by
underscores ________) is now a single line comment. The underscores will thus no
longer prevent either of the sketches from running by producing an unexpected
token error.1 parent 264fd67 commit 970cc19
1 file changed
Lines changed: 4 additions & 5 deletions
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
0 commit comments