sofiadaniela0000
sofiadaniela0000 sofiadaniela0000
  • 18-11-2020
  • Computers and Technology
contestada

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

Respuesta :

malikaya67la malikaya67la
  • 18-11-2020
I think is C tbh sorry if that’s wrong my fault
Answer Link

Otras preguntas

How does this passage show totalitarianism in the Soviet Union? Check all that apply?
Segment AC bisects angle BAD if the measure of angle BAC is 20 degrees what’s is the measure of angle BAD
What effect do consumer protection regulations have on circular flow
A family pays $8.00 to park at a concert. Tickets for the concert cost $13.50 per person. The family spent a total of $89.00 for parking fees and tickets to the
Plz help help help plz plz plz
Yum! Brands, the parent company of KFC, has pursued an aggressive growth strategy in China. There are now more than 3,700 restaurants in 650 Chinese cities, and
Does the number of ions in solution increase, decrease, or remain constant? It decreases at first, then increases. It continuously increases. It continuously de
dino has 14 coins and 2 one dollar bills which describes the relationships between the coins and the dollar bills
please hurry I’ll make brainiest The number of people at a concert can be modeled by the following equation where p is the number of people and t is the time p
Disposal of Fixed Asset Equipment acquired on January 6 at a cost of $483,000, has an estimated useful life of 10 years and an estimated residual value of $63,0