6 kyu

Write Number in Expanded Form

29,591 of 84,821Belax8

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 Trained154671
Total Skips25115
Total Code Submissions331995
Total Times Completed84821
JavaScript Completions29591
Ruby Completions2595
Python Completions34226
CoffeeScript Completions35
Haskell Completions702
PHP Completions2947
Java Completions8989
Swift Completions897
C# Completions4069
F# Completions73
Rust Completions1001
C Completions433
Factor Completions10
Scala Completions47
Dart Completions101
Lua Completions32
Total Stars2297
% of votes with a positive feedback rating93% of 6946
Total "Very Satisfied" Votes6019
Total "Somewhat Satisfied" Votes867
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