Computer Science, asked by write2sashadsilva, 6 months ago

Write output of the following program segment. Also write how many

times this loop will be repeated?

int a = 5;

while(a < 10)

{

a++;

System.out.println(a);

}

Answers

Answered by nayanisanthosh4
0

Answer:

jvfgbfhdnhcdnjgfngfhnfhyccbcnfyncdgncgbfch

Answered by akshathmahajan
1

Answer:

The loop will be repeated 5 times.\

This will be the output:

6

7

8

9

10

Explanation:

Similar questions