How to separate the number with spaces in between using while loop and power function?

Dear all,

How do I separate number with 5 spaces in between the numbers without reversing the number using while loop and <math.h> pow function?

  1. User will be asked to input n-number of numbers
  2. User will be asked to enter the numbers
  3. Print out the numbers without using arrays but only basic while loop and pow function.

Hope to get some help, thank you!