Examine the following while loops and determine the value of ires at the end of each of the loops, and the number of tim
Posted: Mon May 02, 2022 3:53 pm
Examine the following while loops and determine the value of ires at the end of each of the loops, and the number of times each loop executes. (a) ires = 1; while mod(ires, 22) = 0 ires = ires + 1; end ires = 10 number of times 9 (b) ires = 2; while ires <= 100 ires = ires 2; end ires = 256 number of times (c) ires = 2; while ires > 100 ires = ires 2; end ires = number of times