#include using namespace std; void print (int a[], int n){ for (int i=0;i