about | help | code help+videos | done | prefs |
Write a method that converts a positive integer parameter into an array of digits that matches the digits in that integer in order. You are not allowed to use any string commands or methods from ANY preexisting classes such as Integer or ArrayList. Look at the test data for examples. June2_2016_APSL_digitsToArray(13253252) → [1, 3, 2, 5, 3, 2, 5, 2] June2_2016_APSL_digitsToArray(457) → [4, 5, 7] June2_2016_APSL_digitsToArray(1249) → [1, 2, 4, 9] ...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: 290
Copyright Nick Parlante 2017 - privacy