Question: Cual es el output del siguiente segment de codigo si 4 es el input del usuario? int num; int total = 0 ; cout <
Cual es el "output" del siguiente segment de codigo si es el input del usuario?
int num;
int total ;
cout "Enter a number from to : ;
cin num;
switch num
case :
case : total ;
case : total ;
case : total total ;
case : total total ;
default: total total ;
cout total endl;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
