I am currently in the work of a project with a friend and he has happened to have given me a task to print numbers in an array with using "printf" multiple times.
This means that
for(int j = 0; j < diceAmount; j++) printf("%d | ", diceResultList[j]);
is not acceptable as an answer. He has also specified that the usage of sprintf is applicable as well.
I am unsure of how to go about this problem and would like any help in getting a better understanding of how to solve this problem.