Question: C++, using namespce std, #inlcude , no pointers. Write a program that: 1) calls a function to get an integer value from the user. 2)

C++, using namespce std, #inlcude , no pointers.

C++, using namespce std, #inlcude , no pointers. Write a program that:

Write a program that: 1) calls a function to get an integer value from the user. 2) passes a 2D array and users number to a function, which will search the array to find the number provided by the user. This function should return the location so it can be presented to the user as "Target X found at row Y, col Z!" in main. If the number provided by the user is not found the function should return-1 and the user notified "Target X not found". Since non-computer scientists count rows and columns starting with 1, display row & column answer in that same fashion Your array must be a minimum of 6 x 6, with non-consecutive but ordered values

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 Databases Questions!