Consistent instructions and examples
I started off with "hints" that required the poor student to piece together the information from incomplete bits. A complete example is like a picture that is worth 1000 words and far clearer.
This commit is contained in:
parent
507355ec3b
commit
adf5ddb27d
16 changed files with 185 additions and 89 deletions
|
|
@ -6,12 +6,13 @@
|
|||
// Example:
|
||||
//
|
||||
// while (condition) : (continue expression){
|
||||
//
|
||||
// if(other condition) continue;
|
||||
// ...
|
||||
//
|
||||
// }
|
||||
//
|
||||
// The continue expression executes even when 'other condition'
|
||||
// is true and the loop is restarted by the 'continue' statement.
|
||||
// The "continue expression" executes every time the loop restarts
|
||||
// whether the "continue" statement happens or not.
|
||||
//
|
||||
const std = @import("std");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue