Question: what is the final value stored in variable sum, if we assume that the input values for the variable num are: 3 8 2 -7

what is the final value stored in variable sum, if we assume that the input values for the variable num are: 3 8 2 -7 8? int sum=0.j.num; for(100 [ cin>>num: if(num0) break; if(num> 10 && nums 25) continue sum+ I++ num; 1+= 2: 0.28
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
