Honor Code Acknowledgment: _____________________________
Due: Tuesday, June 22, 1999 8 points
int A = 2;
int B = 3;
void SomeFun()
{
int B = 9;
while (B > 7)
{
int A = B;
B--;
}
cout << A << " " << B << endl;
}
void MoreFun()
{
int A = B;
B = 6;
}
int main()
{
cout << A << " " << B << endl;
SomeFun();
cout << A << " " << B << endl;
A = 11;
B = 12;
MoreFun();
cout << A << " " << B << endl;
}
10 29 32 56 8
Show the resulting array after each pass of Selection Sort until
the array is sorted.