Question: find the output of each algorithm Rel ctr = 5 while (ctr = 3) sum = sum + ctr ctr = ctr-2 7 ctr =
Rel ctr = 5 while (ctr = 3) sum = sum + ctr ctr = ctr-2 7 ctr = 10 sum = 5 while (ctr>= 3) sum = sum + ctr ctr = ctr-2 print sum 8 print sum
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
