Q.3.1 • Declare an array called ‘numbers’ that will contain the following values: 16, 5, 3, 24. (2) • Ask a user whether
Posted: Fri Jul 08, 2022 6:35 am
Q.3.1 • Declare an array called ‘numbers’ that will contain thefollowing values: 16, 5, 3, 24. (2) • Ask a user whether they wouldlike to search for a particular value. If their answer is “Yes”,the application should allow them to enter a search value and thearray must be searched for that value. (16) • Display a messageindicating if the value was found in the array or not.(2)