0 LIKES LikeUnLike
Given the following Java code segment:1. for (int num1 = 5; num1 <= 9; num1 ) {2. for (int num2 = 1; num2 <= 3; num2 ) {3. answer = num1 * num2;4. System.out.print (num1 "*" num2 " = ");5. System.out.println (answer);6. }7. }How to do this question?Hmm, the answer = num1 * num2; on line 3,... I don't know which value of num1 and num2 to substitute inside... Can someone also explain the code for me? Thanks
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.