Solved

What Is the Output of the Following Code? Int Count;

Question 18

Multiple Choice

What is the output of the following code? int count; int num = 2; for (count = 1; count < 2; count++) {num = num + 3; System.out.print(num + " ") ;} System.out.println() ;


A) 5
B) 5 8
C) 2 5 8
D) 5 8 11

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions