#include int main() { int number[10]={36, 81, 45, 17, 69, 3, 23, 92, 70, 54}; int target, i; while (1) { printf("Enter a number = "); scanf("%d", &target); i = 0; while ((number[i] != target) && (i<10)) i++; if (i == 10) printf("Not found\n\n"); else printf("Index = %d\n\n", i); } return 0; }