MamunaI3anAllog MamunaI3anAllog
  • 04-01-2017
  • Computers and Technology
contestada

What is sum after the following loop terminates? int sum = 0; int item = 0; do { item ; sum = item; if (sum > 4) break; } while (item < 5);

Respuesta :

kaevras
kaevras kaevras
  • 08-01-2017
int sum = 0;
int item = 0;
do
{
    item;
    sum = item;
    if (sum > 4)
        break;
} while (item < 5);


You will generate a compile error, as having (item;) as a statement on its own is invalid.
Answer Link
emilypadilla16 emilypadilla16
  • 21-02-2019

Sorry i don’t know the answer

Answer Link

Otras preguntas

Which points are reflections of each other across both the y-axis
choose 2 correct answers!!!!!! thank you
Formal Standard English and Standard English are the same thing. True False
(1.1•10^-5)(3 •10^-2)A. 4.1 • 10 ^-7B. 4.1 • 10^10 C. 3.3 • 10^-7D. 3.3 • 10^10​
The pourpose of the open door policy was to
Please help quickly! ** will mark brainliest + 15 points ** The graphs of f(x) and g(x) are shown below: graph of function f of x equals x squared minus x min
Write an equation to match each graph: f
Can you name another genetic variation among humans that might be an adaptation to the environment? Why do you think it fits the category of adaptation?
In which step did Rena make the first error?
What traits and behaviors should an ethical saleperson possess