Examine the following while loops and determine the value of ires at the end of each of the loops, and the number of tim
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Examine the following while loops and determine the value of ires at the end of each of the loops, and the number of tim
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!