Here, m represents the unordered array of elements n represents number of elements in the array and el represents the value to be searched in the list
Sep 1: [Initialize]
k=0
flag=1
Step 2: Repeat step 3 for k=0,1,2.....n-1
Step 3: if (m[k]=el )
then
flag=0
print "Search is successful" and element is found at location (k+1)
stop
endif
Step 4: if (flag=1) then
printf "not successful"
endif
Step 5: stop