Question: Java Problem 2. What is the output of this code? Show the table keeping track the values in the variables and the output for each
Problem 2. What is the output of this code? Show the table keeping track the values in the variables and the output for each cycle. int mystery = 0; int myNum [l-11,10,9,8,7,6,5,4,3,2,10) for ( int b = my Nunn.length , 4 ; b>-0;b-) mystery = mystery + myNum Ibl; System.out.println (mystery)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
