about | help | code help+videos | done | prefs |
Write a function age2015(birth_year) that returns a person's age when given his or her birth year as a parameter. You can assume that this function only works this year and that the person has not had his or her birthday yet this year. age(2000) → 14 age(1986) → 28 age(1953) → 61 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy