The problem is with your input1 variable scope i.e., the scope of your input1 variable is limited to dowhile block (i.e., { } code), so just declare the variable outside the loop.
int input1 = 0;//scope is now wider, not just limited to the loop
do {
input1=userScan.nextInt();
} while(input1>10);