i have a question for java programming. hope someone can help.
the question is this: the question want me to write an application that inputs one number consisting of four digits from the user,
separates the number into its individual digits and prints the digits separated from one another by 3 spaces each
(assume that the number entered will always be a positive non-zero four digits number .)
the output will be like this "1234" in the input dialog box... then after adding some command, it will become like this "1 2 3 4"
i can only do until it showed "1234"...
help will be appreciated. thanks