I'm trying to align multiple variables in a table like output. I am currently using padding but I can not see how to correctly align the output. I print the variables:
printf("\n %15s", name); printf("%15d", level); Then I call the next function repeatedly, all is fine unless there is more than one digit.
printf("%11dhr %.1fmn",t,t2); 