/* Program to demonstrate Interpolation search */ /* We assume that the array is sorted in ascending order */ #include #include int interpolation(int x[ ], int n, int key) ; void main() { int i, n, x[20], key ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d",&n) ; printf("Enter the elements:\n") ; for(i=0 ; i