http://i51.tinypic.com/ejabg0.jpg
i'm doing this program and understand it except for the printf at the end. why is there a %4i$14i there?
http://i51.tinypic.com/ejabg0.jpg
i'm doing this program and understand it except for the printf at the end. why is there a %4i$14i there?
The 4 and 14 are field width specifiers. The number will be put into a space of it's own, that is 4 or 14 char's wide.
(and yes, you can align the number within those fields, if you want, using the - sign )