Is it possible to show the time it took a linear search to find the key you entered to find in the program? : <p>Is it possible to show the time it took a linear search to find the key you entered to find in the program? </p>

<p>This is the task our teacher gave us</p>

<p>Requirements: Write a C++ program that will do the following in sequence: 
Linear Search
1. Ask the user to input a positive integer value that we will denote as n. Here n represents the size of the problem space, specifically, the number of random elements. 
2. For linear search, the user will input the key/value that will be searched.
3. Once the key/value is found it will display the value including the index value.
4. It will also display the time that it searched in milliseconds.</p>
