Exactly how can I unwrapped my input digital output, autistic! Detailed guidance for bosses, save the children! Problem description: Known to be a positive integer n, n is the range of 1-999999999, your task is to put the integer factorization to a single number, and then from left to right, in turn, printing out each number, such as integer "12345", "1, 2, 3, 4, 5",
The input and output requirements: Input consists of a positive integer, that is, to break up the integer n, 1 & lt;=n<=999999999, the output of integer resolution as a result, there is a space between the adjacent two Numbers, after the last digit is a newline character, such as separation results of the 12345 "1, 2, 3, 4, 5"
# include & lt; Stdio. H> # include & lt; String. H>
Int main () { Char num [10]. Memset (num, 1, sizeof (char) * 10); The scanf (" % s ", num); for (int i=0; i <10; I++) { If (num [I]!=1) Printf (" % c ", num [I]); } printf("\n"); return 0; }