Change the above code to

if (current > maximum)
maximum = current;
I the current number is greater than the maximum number then you need to make the maximum number equal to the...