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

It’s about direct variations I have a worksheet and I don’t understand it at all
Classify each characteristic as pertaining to atoms, elements, or both.- contains electrons- smallest amount of matter- a form of matter- defined by # of proton
What does Ibn Battuta find different about how families are structured in Mali?
How do we calculate the Cardinality of a set with 5 elements
0.005 molar Ca(OH)2 solution is used in the titration.calculate the pH oh solution.....Gud morning jnta kive o saare?​
which ones are true or false help me and ill give u the brainiest answer
Write the equation of the line in fully simplified slope-intercept form.
Will give 50 points and brainly! but i need it soon so im desperate lol
4. Which of the following is a geometric sequence? O 3,6,9, 12,... 50,25,0, -25,... 011, 15, 19, 23, ... 4,-16,64, -256,... HELP PLSS
Is it safe to inhale essential oils from a diffuser?.