// program to do selection sort #include void selectionsort(int a[],int n); int main() { int a[20],n,i; // n stores the size of the array printf("enter the size of the array\n"); scanf("%d",&n); // read the values printf("enter the values in to the array\n"); for(i=0;i