Hello guys,
I need a hint for creating that application:
"Use the methods developed in parts (a) and (b) to write a method displayDigits that
receives an integer between 1 and 99999 and displays it as a sequence of digits, separating
each pair of digits by two spaces. For example, the integer 4562 should appear as
4 5 6 2
Incorporate the methods into an application that inputs an integer and calls display-
Digits by passing the method the integer entered. Display the results."
note: the methods developed in parts a and b was to divide a by b and calculate the quotient and the remainder
I've think of it as converting that integer number into a String one and using charAt with FOR loop. but it seems that the question is forcing me to use both division and remainder to solve it
Thanks in advance![]()