Top Posters
Since Sunday
10
p
4
h
4
c
4
d
3
3
c
3
t
3
u
3
A
3
B
3
j
3
New Topic  
Oughto Oughto
wrote...
Posts: 742
Rep: 1 0
7 years ago
What will be the value of x after the following code is executed?

int x = 10;
do
{
   x *= 20;
} while (x < 5);

A) 10
B) 200
C) This is an infinite loop.
D) The loop will not be executed, the initial value of x > 5.
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 95 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Oughto Author
wrote...
7 years ago
I mentioned in my previous post that I chose this as an elective, thanks for helping me understand
wrote...
7 years ago
Thanks for providing feedback
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  937 People Browsing
Related Images
  
 321
  
 664
  
 1365
Your Opinion
Which of the following is the best resource to supplement your studies:
Votes: 300