about | help | code help+videos | done | prefs |
A restaurant is offering a combo deal. Whenever you buy a sandwich, salad, and drink at the same time, the price of the cheapest one will be free! Given the price of the sandwich, salad, and drink you picked out as decimals, return the price that you would pay for the combo where the cheapest one is free.
fund_comboPrice(3.0, 2.0, 1.0) → 5.0 fund_comboPrice(2.75, 1.25, 1.0) → 4.0 fund_comboPrice(1.0, 2.0, 3.0) → 5.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