SUBMISSION+YILIANG

Challenge 1

1) using namespace std; int main {   int Tables[10]={88, 44,-21,0,23, 8, -34}; int max, i;   max=0;
 * 1) include

for(i=0; i<10; i++){ if (Tables[i]>max){ max= Tables[i]; }  }   cout<< "Max is " <<max <<endl;

system("PAUSE");

}

2)

using namespace std; int main {  int Tables[10]={88, 44,-21,0,23, 8, -34}; int min, i;  min=0;
 * 1) include

for(i=0; i<10; i++){ if (Tables[i]<min){ min= Tables[i]; }  }   cout<< "Min is " <> x; for(i=0; i<7; i++){ if (x == Tables[i]){ u=1; } }

cout<< "Number of occurances is " <0){ cout<< Chairs[o] <<","; } }

cout<table[i+1]) { x = table[i]; table[i]=table[i+1]; table[i+1]=x ; } } }

for(i=1; i< 7; i++) { cout<< table[i]<<"."; } cout<<endl;

system("PAUSE"); }