Question 6 The break statement can be used to provide an alternative exit condition for a loop, as it terminates the loo
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 6 The break statement can be used to provide an alternative exit condition for a loop, as it terminates the loo
Question 6 The break statement can be used to provide an alternative exit condition for a loop, as it terminates the loop immediately without returning to evaluate the condition. A True B) False Question 7 Given the for loop header below, how many times will the loop repeat? for (int i = 10; i > 0; i = i - 3) (A) 10 times B 4 times 5 Points C) 0 times D) The loop is infinite 5 Points