Read the question carefully and solve it.
Question:
Write a pseudocode to perform a linear search on a one-dimensional array that stores the names of five students.
The program should:
-
Ask the user to enter the names of five students and store them in an array.
-
Ask the user to input a name to search for.
-
Search the array to find a match for the entered name.
-
Display the message “Student found at position X” if the name exists, or “Student not found” if it does not.
