N
NeedProgrammingHelp
Guest
I would like to read in(scanf) and printf out a series of digits with 3 spaces in between the digits. I need to repetitive statement like while loops or for loops to introduce the spacing in between the digits. i only know very basic c programming..
Example:
Ask the user to enter n(the number of digits that will be entered later, in this case 5)
if n is 5 and the number entered is 32521, the printout will be 3 2 5 2 1 (this 5 digits entered after n can be any 5 numbers like 54632, 89899 however i need to use a loop to execute this..
THANK YOU VERY MUCH...
Continue reading...
Example:
Ask the user to enter n(the number of digits that will be entered later, in this case 5)
if n is 5 and the number entered is 32521, the printout will be 3 2 5 2 1 (this 5 digits entered after n can be any 5 numbers like 54632, 89899 however i need to use a loop to execute this..
THANK YOU VERY MUCH...
Continue reading...