Easy# Exponent Procedure

APCSP-EGKURL

Jim wrote a procedure that calculates a base raised to a certain exponent. The procedure has two parameters: base and exponent. This procedure can be seen below:

PROCEDURE exp (base, exponent) { x ←1; REPEAT exponent TIMES { x ← x * base } RETURN (x) }

Which of the following changes could be made to the above code without altering the outcome?