about | help | code help+videos | done | prefs |
subtract
Define a function that when passed two Strings, each holding a (possibly very very long integer) as a String, returns the difference between the two numbers, as a String.
subtract("8703575", "4876045") → "3827530" subtract("97", "21") → "76" subtract("13", "8") → "5" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 6 Post-solution available
Copyright Nick Parlante 2017 - privacy