You can do this many ways:-
- Always print two blank spaces after each print.
- Look at the size of the number and print no, one or two spaces after you print.
- Convert into a string and pad out before or after the digits with spaces, then print the string
- Read back the cursor position after you print then print spaces until it gets to the end of the field.