Skip to content

Commit e043e17

Browse files
committed
Module -> modulo
1 parent 9fcc994 commit e043e17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chapters/basic-datatypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ However, multiplication works as repetition:
6161

6262
3. The volume of a sphere is given by (4/3 * pi * r^3). Calculate the volume of a sphere of radius 5. Suggestion: create a variable named "pi" with the value of 3.1415.
6363

64-
4. Use the module operator (%) to check which of the following numbers is even or odd: (1, 5, 20, 60/7).
64+
4. Use the modulo operator (%) to check which of the following numbers is even or odd: (1, 5, 20, 60/7).
6565

6666
Suggestion: the remainder of \(x/2\) is always zero when \(x\) is even.
6767

0 commit comments

Comments
 (0)