7 kyu

Return the closest number multiple of 10

3,395 of 7,371brunolm

Description:

Given a number return the closest number to it that is divisible by 10.

Example input:

22
25
37

Expected output:

20
30
40
Mathematics
Fundamentals

Stats:

CreatedNov 10, 2016
PublishedNov 10, 2016
Warriors Trained9596
Total Skips123
Total Code Submissions20279
Total Times Completed7371
JavaScript Completions3395
Ruby Completions272
C# Completions525
Crystal Completions14
Python Completions2395
PHP Completions340
CoffeeScript Completions18
TypeScript Completions234
Haskell Completions75
C Completions193
Rust Completions100
Go Completions134
COBOL Completions7
OCaml Completions52
NASM Completions20
Total Stars51
% of votes with a positive feedback rating93% of 1239
Total "Very Satisfied" Votes1086
Total "Somewhat Satisfied" Votes135
Total "Not Satisfied" Votes18
Total Rank Assessments8
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • brunolm Avatar
  • raulbc777 Avatar
  • donaldsebleung Avatar
  • narayanswa30663 Avatar
  • Blind4Basics Avatar
  • FArekkusu Avatar
  • monadius Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
  • Glinator Avatar
Ad