Print percent signs and aligned values
Make the count easy to scan
A report is easier to read when numbers occupy predictable columns. printf can pad a short number without changing its value.
#include <stdio.h>
int main(void) {
int done = 8;
double hours = 2.5;
printf("Done: %3d | Time: %.2f h | Goal: 80%%\n", done, hours);
return 0;
}
%3d gives the integer a minimum field width of three characters. With done equal to 8, that field is two spaces followed by 8. A two-digit count would need one padding space. A longer number is printed in full; width is a minimum, not a limit.
There is also a literal space after Done: in the format string. That makes three spaces in total between the colon and 8: one literal space plus two padding spaces.
%.2f displays the time as 2.50. %% writes one percent sign and uses no additional argument, so only done and hours follow the string.
Run the report and check the spaces, decimal places, and final 80%. Next, apply the same formatting to the cleaning team's report.