Give the output of the following program segment and also mention
how many times the inner loop is executed :
int I,j;
for(i=3;i<=4;i++)
{
for(j=2;j<i;j++)
{
System.out.println("ICSE");
}
}
Answers
Answered by
0
Explanation:
h2hhhhhh3hnjnjjh
h2h3j2j2
2h2h2jej3
whwh2hwh
2huwuu2
uwu2uwu2
wuwiwi2
wjwjwjj2
wi2jwi
i2ju2u3
iwj2i2j
iwi2iwi2i
iwu2uei
wii2iwi2ej
owrhj3j4urysywg3yusisjjedu
Answered by
0
Answer:
20 loop will be executed 0 times.
Similar questions