One option (but a very poor option) would be to use an if statement (if the number is less than 9, output with an extra space, else output "normally").
A much better option would be to use the printf statement. Look it up in the text book(s) or online. Be sure to indicate where you learned this in your outside resources