Hi, can you help me with this development program - I'm lost - can you help? How to create a code in x-code using C++. Write a program that uses an array (of size 10) to demonstrate how to use the linear search algorithm to search through a user generated list of numbers for a specific value. Assume that the numbers in the list will be integers from between -100 and +100. Should store the numbers in a 1D array. The logic and print statements declaring whether the target is or is not in the set of numbers should also be located in your main method. Output #1 Please enter 10 numbers: Integer 1: 15 Integer 2: 12 Integer 3: 89 Integer 4: -14 Integer 5: 11 Integer 6: -99 Integer 7: 1 Integer 8: 42 Integer 9: 27 Integer 10: 2 What is the target number: 42 The target is in the set. Sample output #2 Please enter 10 numbers: Integer 1: 15 Integer 2: 12 Integer 3: 89 Integer 4: -14 Integer 5: 11 Integer 6: -99 Integer 7: 1 Integer 8: 42 Integer 9: 27 Integer 10: 2 What is the target number: -3 The target is not in the set.
Hi, can you help me with this development program - I'm lost - can you help?
How to create a code in x-code using C++. Write a program that uses an array (of size 10) to demonstrate how to use the linear search
Output #1 Please enter 10 numbers:
Integer 1: 15
Integer 2: 12
Integer 3: 89
Integer 4: -14
Integer 5: 11
Integer 6: -99
Integer 7: 1
Integer 8: 42
Integer 9: 27
Integer 10: 2
What is the target number: 42
The target is in the set.
Sample output #2 Please enter 10 numbers:
Integer 1: 15
Integer 2: 12
Integer 3: 89
Integer 4: -14
Integer 5: 11
Integer 6: -99
Integer 7: 1
Integer 8: 42
Integer 9: 27
Integer 10: 2
What is the target number: -3
The target is not in the set.

Step by step
Solved in 2 steps with 4 images







