For the integer dividing by 0 error, the program attempts the division before checking to see if it's an allowed operation in the method qotremain(). Fix the order of operations to prevent the error...