#include #include using namespace std; void printArray(int a[],int n){ for(int i=0;i>width>>n; int a[n]; for(int i=0;i>a[i]; } sort(a,a+n); cout<