SUBMISSION+PENG+NING

Challenge 1: using namespace std;
 * 1) include

int main{ int tables[10], max, min, a, occ, i; float avg;

//get user input cout<<"Insert integers:"; cout<>tables[a];

max=tables[0]; for (a=0; a<=8; a++){ if (tables[a+1]>max) max=tables[a+1]; } min=tables[0]; for (a=0; a<=8; a++){ if (tables[a]>i; for (a=0; a<=9; a++){ if (i==tables[a]) occ++; } cout<<"Number of occurence for integer inserted:"<>allocations[a];

for(b=0; b<=3; b++){ for (c=0; c<=3; c++){ y=int(allocations[c]); z=int(allocations[c+1]); if(y>=97) y-=32; if(z>=97) z-=32;

if (y>z){ a=allocations[c]; allocations[c]=allocations[c+1]; allocations[c+1]=a; } } }

cout<< allocations[0] <<" "<< allocations[1]<<" "<< allocations[2]<<" "<< allocations[3]<<" "<< allocations[4]; system("pause"); }