Ls 7 - Conditional and Looping Statements - Worksheet 3
Ls 7 - Conditional and Looping Statements - Worksheet 3
Worksheet 3
1) Give the output of the following program segment and
also mention how many times the loop is executed:
int a;
for(a=6; a>10; a++)
System.out.println(a*5);