Question: Suppose that alpha is an int variable. Consider the following C++ code. (3, 11) cin >> alpha; switch (alpha 9) = alpha / 3;
Suppose that alpha is an int variable. Consider the following C++ code. (3, 11) cin >> alpha; switch (alpha 9) = alpha / 3; case 1: case 5: case 7: alpha alpha / 2; **alpha; 1 alpha L alpha break; alpha--; B (alpha/ 91 * (alpha / 9); } cout < < alpha < < endl; (alpha 9) * (alpha 9), What is the output if the input is 16? What is the output if the input is a What is the output if the input is 17 4 What is the output if the input is 25?
Step by Step Solution
3.48 Rating (158 Votes )
There are 3 Steps involved in it
Given C code cin alpha read an int value switch on the remainder left when alpha is divided by 9 swi... View full answer
Get step-by-step solutions from verified subject matter experts
