Computer Science, asked by Pritam1973, 15 hours ago

Predict the output and also mention the number of times the loop runs.
int a=0);
while(a>-5)
System.out.print(a+" "); System.out.print((--a*2));
System.out.println();
--a;​

Answers

Answered by jaskaranjotsingh68
2

Answer:

see the pic attached and mark me as brainlist

Attachments:
Similar questions