about | help | code help+videos | done | prefs |
getInterest
There is a bank account that earns 4.5 percent interest per year. Given the account balance, return the interest amount earned by the account after one year. (Difficulty Level: 1) getInterest(200) → 9.0 getInterest(1000) → 45.0 getInterest(50000) → 2250.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