Reference no: EM133422709
Question 1. Create a Java program that declares and initializes two integer variables, "num1" and "num2", with values of your choice
Question 2. Output the values of "num1" and "num2" to the console using the System.out.println() method.
Question 3. Use the addition operator (+) to add "num1" and "num2" together and output the result to the console.
Question 4. Use the subtraction operator (-) to subtract "num2" from "num1" and output the result to the console.
Question 5. Use the multiplication operator (*) to multiply "num1" and "num2" together and output the result to the console.
Question 6. Use the division operator (/) to divide "num1" by "num2" and output the result to the console.
Question 7. Use the modulus operator (%) to find the remainder when "num1" is divided by "num2" and output the result to the console.
Question 8. Use the increment operator (++) to increment the value of "num1" by 1 and output the new value to the console.
Question 9. Use the decrement operator (--) to decrement the value of "num2" by 1 and output the new value to the console.