Question: int i = 0; int sum=0; while(i //Can someone please explain what's going on in this code that is making the output of this code
int i = 0; int sum=0; while(i
//Can someone please explain what's going on in this code that is making the output of this code shown below? Please I need a clear explanation typed out
int countt = 1; while (countt
Also please explain why answer of the following above code is 2.

Output - Chap5loops (run) \begin{tabular}{l|l} D & 0 \\ D & 1 \\ & 3 \\ & 6 \\ \hdashline & 10 \\ 15 & 21 \\ & 28 \\ & 36 \\ & 45 \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
