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

Data is not recorded magnetically on a(n) ____________, but is encoded as a series of pits on the disk surface.
Can someone translate this into a number? It would be greatly appreciated. y = ln (5) / 2 ln (2)
Initially the first u-2 flight over the soviet union was to land where?
Where would you expect surface water to sink and initiate a deep-water current in the atlantic ocean?
During the 700s, spain was under the rule of _______.
solve for x: 4x+63=11x-18
Jacob walked for x miles and then cycled for y miles between his home and the library. The number of miles Jacob cycled was 3 miles more than twice the number o
Apple, exxonmobil, ford, honda, and samsung are examples of
Form a hypothesis to explain why most of the world's biodiversity hotspots are in the tropics. Please help.
Anna and Ken go to their bank for a home equity line of credit. What collateral can they use to obtain a secured loan? They can use their ________ as collateral