Answer:
Write the following lines of code just before the return statement
//1
System.out.println("You entered "+userNum);
// 2
System.out.println(userNum+" squared is "+(Math.pow(userNum, 2))+" and "+userNum+" cubed is "+(Math.pow(userNum, 3)));
//3
int userNum2 = 0;
System.out.print("Enter another integer: ");
userNum2 = scnr.nextInt();
int sum = userNum + userNum2;
System.out.println(userNum+" + "+userNum2+" is "+sum);
int product = userNum * userNum2;
System.out.println(userNum+" * "+userNum2+" is "+product);
Explanation:
I continued the program from where you stopped in the question
The explanation has been added as an attachment