Write a set of instructions (the code) to prompt the user for an int value and input it using the Scanner class into the variable x and prompt the user for a int value and input it into the variable y.

Q&A Education