Question 3 Q.3.1 • Declare an array called ‘numbers’ that will contain the following values: 16, 5, 3, 24. • Ask a user
Posted: Fri Jul 08, 2022 6:35 am
Question 3
Q.3.1 • Declare an array called ‘numbers’ that will contain thefollowing values: 16, 5, 3, 24. • 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. • Display a messageindicating if the value was found in the array or not.
Q.3.1 • Declare an array called ‘numbers’ that will contain thefollowing values: 16, 5, 3, 24. • 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. • Display a messageindicating if the value was found in the array or not.