Multiple Choice
Which of the following conditions can be added to the code below so it will loop until the value of sum is greater than 100? Scanner in = new Scanner (System.in) ;
Int sum = 0;
Do {
Sum += in.nextInt() ;
}
While (/* put condition here */)
A) sum != 0
B) sum <= 100
C) sum > 100
D) sum == 100
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: What will be the range of the
Q3: Which of the following activities can be
Q4: Which of the following is considered a
Q5: What is the output of the code
Q6: What is the output of the following
Q8: Is the following code snippet legal? boolean
Q9: What will be the output of the
Q10: Choose the loop that is equivalent to
Q11: What is the output of the following
Q12: What will be the result of running