menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
NEED HELP ASAP JAVA multiple choice How many times will the following loop repeat? int num = 49; while (num > 0) { if (num % 2 == 0) { num++; } else { num-- } } A. 21 B. 22 C. 20 D. Infinite Loop E. 23
asked
Mar 25, 2021
61.4k
views
0
votes
NEED HELP ASAP JAVA
multiple choice
How many times will the following loop repeat?
int num = 49;
while (num > 0)
{
if (num % 2 == 0)
{
num++;
}
else
{
num--
}
}
A. 21
B. 22
C. 20
D. Infinite Loop
E. 23
Computers and Technology
high-school
Nick Kennedy
asked
by
Nick Kennedy
4.8k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
I think is C tbh sorry if that’s wrong my fault
Henry Ma
answered
Mar 30, 2021
by
Henry Ma
4.4k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
5.2m
questions
6.7m
answers
Other Questions
Why is it important to study in a quiet well lit area A can you read it out loud and not bother anyone B you can focus on your studying without distractions C reading books in a dark too Will strain your
What is the first step you would take to create a table of authorities?
In Java a final class must be sub-classed before it. ?? True ?? False
What machine listens for HTTP requests to come in to a website’s domain?
Certain files, such as the ____ and Security log in Windows, might lose essential network activity records if power is terminated without a proper shutdown. a. Event log b. Password log c. Word log d.
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org