Your problem is when you are trying to give a value to your answer variable. You are subtracting age, which is a Scanner object and cannot be subtracted from an integer value. What you want to do is...