Question: 5 4 3 7 6 4 . 3 8 9 6 9 3 2 qx 3 zqy 7 Jump to level 1 Print userNum 1

543764.3896932 qx3zqy 7
Jump to level 1
Print "userNum1 is negative." if userNum1 is less than 0. End with newline.
Assign userNum2 with 2 if userNum2 is greater than 13. Otherwise, print "userNum2 is less than or equal to 13.". End with newline.
import java.util.scanner;
public class UserNums {
public static void main (String [] args){
int userNum1;
int userNum2;
Scanner input = new Scanner(
System.in);
userNum1= input. nextInt();
userNum2= input.nextInt ();
V** your code goes here */
}
system.out.println("userNum2 is "+ userNum2);
 543764.3896932 qx3zqy 7 Jump to level 1 Print "userNum1 is negative."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!