subject

What will be displayed by the following switch statement? char ch = 'a';

switch (ch)
{
case 'a':
case 'A':
cout << ch << endl; break;
case 'b':
case 'B':
cout << ch << endl; break;
case 'c':
case 'C':
cout << ch << endl; break;
case 'd':
case 'D':
cout << ch << endl;
}

Answers
aa
abcd
a
ab

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Felicia wants to become a head surgeon by december 2013. she designs the career milestones that she would need to complete her goal. by june 2013, she was not licensed. which best describes what she should do?
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
You know the right answer?
What will be displayed by the following switch statement? char ch = 'a';

switch (ch) <...
Questions
question
Mathematics, 07.12.2020 21:40
question
Mathematics, 07.12.2020 21:40
Questions on the website: 13722367