linear search search for a number in an array of numbers compile the code: gcc -o search search.c run the program: ./search enter the number you want to search for when prompted.