why is the output wrong??

this program seems to work but if you look at the output, it is
recording all adjustments to the gauge figure. help!