( d) int m=0;
while(m>-5)
{
m- = 2;
}
System.out.println(--m*2);
(1) Number of time the loop runs: 2 and output is -10
2. Number of time the loop runs: 3 and output is -12
3.Number of time the loop runs: 2 and output is -14
4.Number of time the loop runs: 3 and output is -14
Answers
Answered by
0
Explanation:
( d) int m=0;
while(m>-5)
{
m- = 2;
}
System.out.println(--m*2);
(1) Number of time the loop runs: 2 and output is -10
2. Number of time the loop runs: 3 and output is -12
3.Number of time the loop runs: 2 and output is -14
4.Number of time the loop runs: 3 and output is -14
Similar questions