Write the pseudo code to create an array of 10 data elements of integer data types and search for the value ‘k’ provided by the user using linear search algorithm. code example
Example: linear search in c++
bool linearsearch(int A[], int N, int X) {
for (int i=0; i<N; i++)
if (A[i] == X) return true;
return false;
}