subject

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;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 04.02.2019 17:46
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 31.01.2019 21:34
Today is the anniversary of me being on brainly! yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
question
Computers and Technology, 31.01.2019 04:12
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 29.01.2019 22:06
Select all that apply. which of the following are proofreading options included in microsoft word? spell check find replace grammar check formatting check
Answers: 1
You know the right answer?
What is the output of the following c++ code? int x = 55; int y = 5; switch (x % 7) { case 0: ca...
Questions
question
English, 15.10.2019 17:05
question
Computers and Technology, 15.10.2019 17:04
Questions on the website: 6507863