Jan 2, 2013 at 9:49am
I am unable to understand your language in code. I think you are trying to sort a list of 8 elements.
What you want in it? Ask question clearly.
Last edited on Jan 2, 2013 at 9:49am
Jan 2, 2013 at 3:56pm
int Array[5];
void TestNumber()
{
for (int a=0; a<=5; a++)
{
int x=0;
cout << "Number: ";
cin >> x;
if ((x>0) && (x<=100))
{Array[a]=x;}
else
{cout << "x<>100 Exit now";}
}
cout << endl;
for (int a=0; a<=5; a++)
{
cout <<Array[a] << " " ;
}
}