#include #include #include int main() { srand(time(NULL)); const n = 10; int a[n]; int i, min, index; for (i=0; i