This is not too valid to your question, but think about moving this if() statement, you have it after you imput both the first and the second number, so the user is not sure which number they imputed...