about | help | code help+videos | done | prefs |
Given a positive integer "n", return it rounded to the nearest ten. If the number is evenly distanced, such as 25, round it up to 30. logic_roundNearestTen(2) → 0 logic_roundNearestTen(5) → 10 logic_roundNearestTen(7) → 10 ...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