Java 13: Count the number of digits in a string input and store the digits in an array.

Published --