about | help | code help+videos | done | prefs |
Define a function that when passed two Strings, each holding a (possibly very very long integer) as a String, returns the remainder when the first number is divided by the second number, as a String.
remainder("10", "20") → "10" remainder("3458010375626989", "1729") → "0" remainder("10000000000000000000", "200002000020") → "10000" ...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: 7
Copyright Nick Parlante 2017 - privacy