Output Questions for Class 10 ICSE Computer Applications

Give the output of the snippet:

int p = 9;
while (p<=15)
{
p++;
if(p== 10)
continue;
System.out.println(p);
}

Java

Java Iterative Stmts

46 Likes

Answer

11
12
13
14
15
16

Answered By

22 Likes