Linear Search
MediumAssume an array `arr` holds 5 elements. Write a program that inputs 5 numbers sequentially to populate the array, and then inputs a final target number `T`. The program should output "Found" if `T` exists within the array, and "Not Found" otherwise.
Example Input
10
20
30
40
50
30
Example Output
Found
0% (0 passed / 0 attempted)