Exercise#2: Flag-controlled vs Counter-controlled Loops The flag-controlled loop is more efficient than the counter-controlled loop because in some situations, such as searching, it does not iterate till the end rather it iterates when an event occurs, for instance when an item is found. In order to confirm this, you need to write the following program. A program that prompts the user to fill an array of 10 integers and an item to search in the array. The program then uses two loops: 1) a
PayPal Gateway not configured
PayPal Gateway not configured