start int imput = -1 int maxInput = -2147483647 bool inputProvided = false write "Max number provided: " maxInput while (input !=0) write "Enter an integer 0 to quit." read input if (input !=0) input provided = true end if if (input !=0 and input > maxInput) maxInput = input end if end while write "\n" if (inputProvided = true) write "Max number provided: " maxInput else write "No inputs other than 0 provided" end if write "\n" end