Question: Write a C++ program that declares an array of size 20 and assign values to it. Then it asks the user Enter the number to
Write a C++ program that declares an array of size 20 and assign values to it. Then it asks the user “Enter the number to search in this array”. Then search the number entered by user in the array and display the index on which it was found. (This task is similar to exercise 1. Think like that.)
Step by Step Solution
3.49 Rating (156 Votes )
There are 3 Steps involved in it
Solution Code and output int arr20 ... View full answer
Get step-by-step solutions from verified subject matter experts
