Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I run this code and I found the output to be 30, 20, 10, 33, 22,11, 36, 24, 12. but I don't know why. can
I run this code and I found the output to be 30, 20, 10, 33, 22,11, 36, 24, 12. but I don't know why.
can you please explain this to me. why is the output like this. and how does this nested do while work.
Thanks.
int a10; do int b = 3; do System . out . print f( "%d ", b * a ) ; } while (-b >= 1 ) ; a+= 1; while aStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started