Question: c + + / / Exercise 1 : Re - write this program so that it searches an array of integers rather than characters. Search

c++// Exercise 1: Re-write this program so that it searches an array of integers rather
than characters. Search the integer array nums [8]=
for several different integers. Make sure you try integers that are in the array
and others that are not. What happens if you search for 5?
Exercise 2: Re-write the program so that the user can continue to input values
that will be searched for, until a sentinel value is entered to end the program.
Should a pre or post test loop be used?
c + + / / Exercise 1 : Re - write this program so

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!