#include void counting_sort(int a[],int n,int max) { int count[50]={0},i,j; for(i=0;imax) max=a[i]; } counting_sort(a,n,max); return 0; }