Question: QUESTION 1 6.66667 points Save Answer In the textbox below, show the trace and output of the following program. 1 import java.util.*; 3 public class

QUESTION 1 6.66667 points Save Answer In the textbox below, show the trace and output of the following program. 1 import java.util.*; 3 public class W2WLA2{ public static void main(String[] args) { 5 6 7 Scanner scnr - new Scanner(System.in); int assignments - scnr.nextInt(); // Assume that the input is 2 String day - scnr.next(); // Assume that thze input is "Monday" String time - scnr.next(); // Assume that the input is "11:59" String name - scnr.next(); // Assume that the input is your abc 123 assignments - assignments * 2; 9 9 10 11 12 14 13 14 15 16 17 18 19 20 21 21 22 23 24 ) System.out.print("The number of assingments due " + day + " at " + time); System.out.println(" are " + assignments + " "); System.out.print("Program traced by: "); System.out.println(name); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
