You are viewing a single comment's thread. Return to all comments →
*4 30 2 18 8 5 15 23 11 1
Then the second pile is split into two piles based on whether they are divsible by 3 (the second prime number) and the three piles look like
4 30 2 18 8 15 1 11 23 5
You print these top to bottom, first to last, and the printout looks like
4 30 2 18 8 15 1 11 23 5*
i think output should be "4,30,2,18,8,15,5,23,11,1 " if not please correct me!!
thnaks in advance
Seems like cookies are disabled on this browser, please enable them to open this website
Waiter
You are viewing a single comment's thread. Return to all comments →
*4 30 2 18 8 5 15 23 11 1
Then the second pile is split into two piles based on whether they are divsible by 3 (the second prime number) and the three piles look like
4 30 2 18 8 15 1 11 23 5
You print these top to bottom, first to last, and the printout looks like
4 30 2 18 8 15 1 11 23 5*
i think output should be "4,30,2,18,8,15,5,23,11,1 " if not please correct me!!
thnaks in advance