princessgabbee1045 princessgabbee1045
  • 07-02-2024
  • Computers and Technology
contestada

How many times does the following loop run
int i = 0;
int j = 1;
do
{
System.out.println("" + i + ";" + j);
i++;
if (i % 2 == 0)
{
j--;
}
}
while (j >= 1);
a) 0 times
b) 1 times
c) 2 times
d) 4 times

Respuesta :

Otras preguntas

PLZZZZ HELP PLZZZZZZ
Tristan spent 35% of his allowance on candy each week. If his weekly allowance is $10, How much is he spending on candy?
Please help me please ! not that hard !! I’m just slow (True or false) 1. English Common Law was used to advance the power of the monarchy True or false 2. O
free brainliest hehehehehehehheheh
The ABC Company has recognized the following demand for the next four quarters: Quarter Demand 1 3000 units 2 4000 units 3
In analysis of literature, the literary perspective is based on (blank) and the historical perspective is based on (blank).
Eight people were asked what the balance of their checking account at the beginning of this past week was and how much it increased or decreased by the end of t
Mrs. Benton Treats herself to her today at the nail salon swan. The services she receives arm manicure for $25 and a pedicure for $30 she ask for a special nail
Which of the following countries were part of French Indochina? Check all that apply. Philippines Burma Cambodia Malaysia Laos Vietnam
Weather conditions may affect your prediction