about | help | code help+videos | done | prefs |
Complete the berlinWall1 function, so that given a year as a parameter, the function returns how many years it will have been at the end of the given year since the fall of the berlin wall. If the year given is before 1989, return -1 (NOTE: The Berlin wall fell November 9, 1989). berlinWall1(2001) → 12 berlinWall1(1990) → 1 berlinWall1(1989) → 0 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy