How many times will the following loop execute and what will be the output of this loop ? int a=1; do { System.out.println (a); a+=5; }while (a<=20);
Answers
Answered by
0
3 times
output will be
1 as it is of a value
6
11
16
Similar questions
Social Sciences,
7 hours ago
Chemistry,
7 hours ago
Accountancy,
7 hours ago
Math,
13 hours ago
Hindi,
13 hours ago
Economy,
8 months ago
Physics,
8 months ago