about | help | code help+videos | done | prefs |
findAvgDroppingLowest
Write a method called public double findAvgDroppingLowest(int x, int y, int z) that will find the average, dropping the lowest value and return that value. So if findAvgDroppingLowest (5,2,8) gets called, it returns 6.5 (it drops 2, and finds avg of 5 and 8). If there are 2 or 3 lowest it drop just one of them. findAvgDroppingLowest(1, 2, 3) → 2.5 findAvgDroppingLowest(5, 1, 20) → 12.5 findAvgDroppingLowest(15, 15, 10) → 15.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
Copyright Nick Parlante 2017 - privacy