BEGIN N := N + 1; SUM := SUM + PRICE; IF PRICE > MAX THEN MAX := PRICE; READON(PRICE); END; WRITE(N,SUM,MAX)
... makeup of the town is 94.37% White, 1.11% African American, 0.18% Native American, 1.74% Asian, 0.01% Pacific Islander, 1.21% from other races, and 1.38% from two or more ...