Skip to content

Commit 9b328d7

Browse files
committed
Fix incorrect math in comments in mean.rb
1 parent 3997e93 commit 9b328d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/mean.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See: https://www.freemathhelp.com/arithmetic-mean.html
77
#
88
# For example,
9-
# The mean of 5 and 2 is 2.5 since (5 + 2)/2 is 2.5
9+
# The mean of 5 and 2 is 2.5 since (5 + 2)/2 is 3.5
1010
# The mean of 5 and 5 is 5.0 since (5 + 5)/2 is 5.0
1111
# The mean of 10, 20, and 30 is 20.0 since (10 + 20 + 30)/3 is 20.0
1212
# etc.

0 commit comments

Comments
 (0)