6 kyu

Write Number in Expanded Form

29,392 of 84,228Belax8

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 Trained153802
Total Skips25041
Total Code Submissions330276
Total Times Completed84228
JavaScript Completions29392
Ruby Completions2587
Python Completions33941
CoffeeScript Completions35
Haskell Completions702
PHP Completions2935
Java Completions8952
Swift Completions891
C# Completions4044
F# Completions73
Rust Completions996
C Completions426
Factor Completions10
Scala Completions47
Dart Completions87
Lua Completions28
Total Stars2284
% of votes with a positive feedback rating93% of 6931
Total "Very Satisfied" Votes6008
Total "Somewhat Satisfied" Votes863
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