This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cs330_f2016:lab5 [2017/01/30 16:58] wingated [Preparation:] |
cs330_f2016:lab5 [2017/02/07 20:21] dhart |
||
---|---|---|---|
Line 8: | Line 8: | ||
====Preparation:==== | ====Preparation:==== | ||
- | For this lab, you should use Julia v.0.5. You may use the binary hosted in Dr. Wingate's home directory, at | + | For this lab, you should use at least Julia v.0.4. You may use the binary hosted in Dr. Wingate's home directory, at |
''/users/faculty/wingated/cs330/languages/julia-2e358ce975/bin'' | ''/users/faculty/wingated/cs330/languages/julia-2e358ce975/bin'' | ||
Line 123: | Line 123: | ||
function average_age(tree) | function average_age(tree) | ||
</code> | </code> | ||
- | Calculates the average age of the people in the tree. Use this years date 2016. Unknowns do not count as people. | + | Calculates the average age of the people in the tree. Use this years date 2017. Unknowns do not count as people. |
=== tree map === | === tree map === |