Question: Programming in C++ not really sure how to write this program can you help? (question attached in photo) Task: Write a C++ program that implements
Task: Write a C++ program that implements a lookup functionality on an array. That is, the program should ask the user for a number and then linearly search through an array to return the index of that given number. If the element is not found then the program should return -1. [Note: declare and initialize an array having at least ten elements.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
