mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-09 00:09:59 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user