Skip to content

Commit

Permalink
fix: correct grammar in loops chapter (#281)
Browse files Browse the repository at this point in the history
Fixes #269
  • Loading branch information
dwmkerr authored Jul 5, 2023
1 parent e4b5760 commit 19278d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ do
done
```

This loop structure uses three arithmetic expressions to run the loop. The first is in 'initialise' expression, this is typically used to setup the initial state of the loop. The second is the 'conditional' expression, this is used to check whether the loop is complex. The third is the 'iterate' expression, this is evaluated after the loop commands are completed.
This loop structure uses three arithmetic expressions to run the loop. The first is in 'initialise' expression, this is typically used to setup the initial state of the loop. The second is the 'conditional' expression, this is used to check whether the loop is complete. The third is the 'iterate' expression, this is evaluated after the loop commands are completed.

Here's how we can use a C style for loop to iterate through five numbers:

Expand Down

0 comments on commit 19278d4

Please sign in to comment.