You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapters/basic-datatypes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ However, multiplication works as repetition:
61
61
62
62
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.
63
63
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).
65
65
66
66
Suggestion: the remainder of \(x/2\) is always zero when \(x\) is even.
0 commit comments