i need to format the output of my program so that it's like this:
Total=______ 1232.3
Count=________ 2
Average=_____616.2
the "_" character is just a fill character cause it wouldnt let me do more than one space, which is awesome.
so that the decimal point of all of them lines up but the count doesnt have a decimal point. i was thinking i could count the number of digits in each variable and set the width relative to that but i dont know how.
thanks for the help.