about | help | code help+videos | done | prefs |
Given three values, return the one that is the median. This can benefit from the use of both the else operation and the boolean AND operator: &&. e.g. x < 5 && y < 5. median(0, 1, 2) → 1 median(2, 1, 0) → 1 median(2, 3, 4) → 3 ...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