Guggy8727 Guggy8727
  • 03-12-2019
  • Computers and Technology
contestada

What is the output of the following C++ code? int x = 55; int y = 5; switch (x % 7) { case 0: case 1: y++; case 2: case 3: y = y + 2; case 4: break; case 5: case 6: y = y – 3; } cout << y << endl;

Respuesta :

thefcuyt
thefcuyt thefcuyt
  • 03-12-2019

Answer:

you get 2

Explanation:

Answer Link

Otras preguntas

Can anyone help me with 16,18,and 19 please
what does the strength (or endurance) of a muscle depend on?
An organism is a prokaryote that makes its own food. Which kingdom does it belong in? ( there are no answer choices) :(
what is a correct compound word workbag or bagwork
What is an image that you can apply to another image to add detail and texture?
Explicar q es para Laureano Gómez una verdadera cultura
What are the initials for Oregon
convert 14 inches to feet
The process of bringing a complaint and filing an answer is known as the _____. a. Trials b. Coercions c. Pleadings d. Counterclaim
Teotihuacan is famous for artifacts made from _____. jade obsidian ivory limestone