6 kyu

Write Number in Expanded Form

29,382 of 84,192Belax8

Description:

Write Number in Expanded Form

You will be given a number and you will need to return it as a string in Expanded Form. For example:

   12 --> "10 + 2"
   45 --> "40 + 5"
70304 --> "70000 + 300 + 4"

NOTE: All numbers will be whole numbers greater than 0.

If you liked this kata, check out part 2!!

Strings
Mathematics
Algorithms
Fundamentals

More By Author:

Check out these other kata created by Belax8

Stats:

CreatedDec 3, 2016
PublishedDec 6, 2016
Warriors Trained153726
Total Skips25028
Total Code Submissions330177
Total Times Completed84192
JavaScript Completions29382
Ruby Completions2585
Python Completions33923
CoffeeScript Completions35
Haskell Completions702
PHP Completions2935
Java Completions8949
Swift Completions891
C# Completions4042
F# Completions73
Rust Completions996
C Completions426
Factor Completions10
Scala Completions47
Dart Completions86
Lua Completions28
Total Stars2283
% of votes with a positive feedback rating93% of 6930
Total "Very Satisfied" Votes6008
Total "Somewhat Satisfied" Votes862
Total "Not Satisfied" Votes60
Total Rank Assessments8
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Belax8 Avatar
  • TellowKrinkle Avatar
  • suic Avatar
  • zruF Avatar
  • donaldsebleung Avatar
  • imjasonmiller Avatar
  • narayanswa30663 Avatar
  • fernandezpaco Avatar
  • Voile Avatar
  • Souzooka Avatar
  • KataSideKick Avatar
  • clcraig Avatar
  • andriyrom Avatar
  • monadius Avatar
  • user9644768 Avatar
  • hobovsky Avatar
  • RobsonMoon Avatar
  • testfirstcoder Avatar
  • trashy_incel Avatar
  • ejini战神 Avatar
  • tri@ Avatar
  • swedesjs Avatar
  • KayleighWasTaken Avatar
  • metatable Avatar
Ad