Computer Science, asked by sulatadhardgp1, 9 months ago

int a=10;
while(a>1)
{if(a%2==0)
a-=1;
else
a-=2;
System.out.println(a);
}
Find the output.​

Answers

Answered by AnindaBasu
1

Answer:

9

7

5

3

1

following output are

Similar questions