Multiple Choice
What is the output of the following code snippet?
Int counter = 1;
For (double i = 0.01; i <= 1.0; i = i + 0.01)
{
Counter++;
}
System.out.println(counter) ;
A) 100
B) 49.50
C) 60.5
D) 10
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: Suppose that the chance to hit the
Q28: What does the following code snippet print?<br>Int
Q29: What will be printed by the statements
Q30: What is the last output line of
Q31: Which of the following loop(s) could possibly
Q33: What is the output of this code
Q34: What will be the output of the
Q35: How many times will the following loop
Q36: Which of the following statements expresses why
Q37: How many times does the following loop