about | help | code help+videos | done | prefs |
minCents
Return the least number of cents that we can carry around for having n dollars. For instance: if n = 10.11$, the minimum number of cents would be 1. minCents(1.01) → 1 minCents(200.0) → 0 minCents(0.0) → 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: 160
Copyright Nick Parlante 2017 - privacy