Create two int variables named x and y, and initialize them to 1 and 2, respectively. Assign their sum to the variable z and print it.
int
x
y
z
For this problem we're expecting just a snippet of codeāso don't provide a method or class declaration.
Stuck? You may find these lessons helpful: