Question: 13. Write a count-controlled loop that executes 10 times. [10 PTS) 14. What is the output of the following code fragment if the input value
13. Write a count-controlled loop that executes 10 times. [10 PTS) 14. What is the output of the following code fragment if the input value is 4? (Be careful here.) 13 PTS int num int alpha 10; cin >>num; switch (num) ANSWER: case 3 : alpha++ case 4 : alpha = alpha + 2; case 8 : alpha alpha +3 default : alpha alpha+ 4 cout s alpha ss endl
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
