// ***************************************************************** // Author: Zhixiang Chen // Class: CSCI/CMPE 1170, Spring 2009 // Lab 26: Insertion sort // Date: January 12, 2009 // Revised on: 06/26/2009 by sirisha surisetty // Comment: The code here is meant to be revised. // //----------------------------------------------------------------- // // This lab exercise is to show how to do insertion sort. // // Compile and run your program. When everything is fine, // print your .cpp and .h files and turn them to me or the TA. // ***************************************************************** #include #include #include #include #include #include #include #include "lab_26_head.h" using namespace std; int main( ) { const int SIZE=100; //list or array size int list[SIZE]; //list or array int count; //comparisons of performance metric //load list with random numbers loadList(list, SIZE); //show list cout<<"Before sorting, the list is ....." <