Skip to content

Commit

Permalink
Clarify basic arithmetic exercise.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alyssa Kwan committed May 4, 2014
1 parent 3fc5f60 commit a71ddf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions slides/src/module1.cljs.hl
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,8 @@
(li "Then convert that to centimeters. There are 2.54 centimeters in an inch.")
(li "Lastly, ask two people near you for their height in centimeters. Find the average of your heights.")
(li (p "Bonus: convert that average back to feet and inches.")
(p "This will be two separate numbers of whole feet and decimal inches.")
(p (code "(quot x y)")
" will give you the whole part of the quotient when dividing two numbers.")
(p (code "(mod x y)")
" will give you the remainder when dividing two numbers."))))))))

0 comments on commit a71ddf1

Please sign in to comment.