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

If using the method of completing the square to solve the quadratic equation x 2+15x+25=0, which number would have to be added to complete the square?a. 7.5b. 1
Read this passage:During a trial, a woman charged with tax fraud refuses to testify in court or answer the prosecutor's questions. Thejury ultimately decides th
In Java, which keyword do we use to create a method that has no body that exists only to be overridden by a child?Group of answer choicesO None of theseO abstra
A runner ran the 50 meter dash in 8.22 seconds. Calculate the runner's speed.
Write the equation in equivalent logarithmic form. Complete the equivalent logarithmic equation. V=Hᵏ
What does the value 2,300 represent in the expression? a. the interest, r, in dollars, that Michael earns on the money in his account b. the initial deposit, P,
θ is equal to cos⁻¹(√(cos(x))) - tan⁻¹(√(cos(x))) and sin(θ) is equal to: a) 1 b) cos(x) c) √(cos(x))
fill in the blank on this diagram
Spacing for fence slats (S) can modeled by: S=(W-BN)/(N+1). S = spacing between slats, W= width between posts, N= number of slats, and B= width of one slat. Fin
in a school there is 150 student out of these 80 students taking physics class and 50 student taking english class and 60 taking maths class students of engli