Task 2 (Linear Search)

A program contains an array of product IDs. Write a program that asks the user to enter an ID. The program needs to record the ID's position in the list (if it is present at all).

Reset Get feedback

Next task