1 #include2 #include "stdlib.h" 3 using namespace std; 4 5 void Show() 6 { 7 cout<<"CIS 25 – C++ Programming \n"; 8 cout<<"Laney College \n"; 9 cout<<"Your Name \n\n"; 10 cout<<"Assignment Information -- \n"; 11 cout<<" Assignment Number: Lab 03, \n"; 12 cout<<" Coding Assignment -- Exercise #1 \n"; 13 cout<<" Written by: Your Name \n"; 14 cout<<" Submitted Date: Due Date \n"; 15 } 16 17 18 void Calculate() 19 { 20 int size; 21 int tmp; 22 int i,j,k; 23 24 cout << "\nHow many intergers? "; 25 cin >> size; 26 27 int *ptrPtr = new int[20]; 28 29 for (i = 0; i < size; i++) { 30 31 cout << "Enter integer #"<< i + 1 << ": "; 32 cin >> tmp; 33 34 *(ptrPtr + i) = tmp; 35 } 36 37 cout<<"\nThe original array:\n"; 38 for (j = 0; j < size; j++) 39 cout << " " << *(ptrPtr + j)<<"\n"; 40 cout<<"\nCalling extractUncommonDigitYourName() –\n\n"; 41 cout<<"Displaying after returning the array -- The uncommon digits:\n"; 42 43 44 // cout< < =1){120 for( i=dh;i =0&&*(last_data+j)>temp){124 *(last_data+j+dh)=*(last_data+j);125 j-=dh;126 }127 *(last_data+j+dh)=temp;128 }129 dh/=2;130 }131 // for(i=0;i <<*(last_data+i)<<" ";132 // cout< >option;163 if(option!=2&&option!=1)164 {165 cout<<"\n WRONG OPTION!\n\n";166 }else {167 switch(option)168 {169 case 1:170 Calculate();171 break;172 case 2:173 cout<<"\n Fun Exercise ..."<