Create an int variable called z, assign x + y to it, and display the result.
int
z
x
y
Click here to try again.
int x = 5; int y = 10; w3exercise_input_no_0 w3exercise_input_no_1 = x + y; Console.WriteLine(w3exercise_input_no_2);
w3exercise_input_no_0
w3exercise_input_no_1
w3exercise_input_no_2
Completed 0 of 58 Exercises:
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?
Share your score: