Answer to Question 06B-1

printf("This thing's mass is %i kilograms\n", mass);
Replacing %i by %d works equally well.