Top Posters
Since Sunday
c
6
r
4
c
3
m
3
h
3
1
3
n
3
s
3
d
3
c
3
a
3
r
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 106 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
  1412 People Browsing
Related Images
  
 329
  
 305
  
 358
Your Opinion
Who's your favorite biologist?
Votes: 608

Previous poll results: Where do you get your textbooks?