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 many houses did the Georgia Legislature have under the first state constitution?
3/5 bigger or smaller than 1/5
You need to get a grip," he started after she put the car in park. Based on the sentence, what does the phrase get a grip mean? A: It is a descriptive way to re
The desert relies on precipitation from weather patterns, while the rainforest can create its own precipitation. true/false
Which describes John Brown's attempt to end slavery in the United States? A. He ran for Congress to propose antislavery laws. B. He made speeches and staged
How to construct a triangle given area 36cm and sides 6cm and 8cm
What is 0.368 in expanded form
Which best describes what occurred in Mexico following the institution of liberal reforms by Benito Juarez? The government action gave rebels a reason to start
How did Elizabeth I promote an English empire? A. financed the Virginia Company B. hired Christopher Columbus C. opened a school for navigators D. sponsore
In the Book Old Yeller Why does Lisbeth Searcy come to stay with the Coates family? A. because she likes Travis and he likes her B. because they need help af