You need to sign in to test your code and save your progress on this question.
Problem Description
Linear Search
Medium
Searching
Arrays
Loops
Assume 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
Success Rate:
0% (0 passed / 0 attempted)
Code
Unsaved
Test Results
Click "Run Code" to evaluate your code against the tests.