#include using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ void sort(int a1[],int len, int updown); int main(int argc, char** argv) { int len = 5; int a1[len] = {20, 51, 9, 62, 30}; cout<<"(before sort) a1 = "; for(int i=0;ia1[j]; if(updown == -1)conds= a1[i]