tHat code is old sry, the LASTTIME = TEMP;
goes under the cout << inside the if statement, I forgot I changed that in my own code.