#include <stdio.h> #include <stdlib.h> int Swquential_Search(int *a, int n, int key) { int i; a[0] = key; i = n; while(a[i] != key) { i--; } return i; }