2. Find the repeated code in the following algorithm, and re-write it using repetition. INPUT value1 counter = 1 total = 0 total = total + value1 INPUT value1 counter = 2 total = total + value1 INPUT value 1 counter = 3 total = total + value1 INPUT value1 counter = 4 total= total + value1 INPUT value1 counter = 5 total= total + value1 average = total / counter OUTPUT average