Question 1 #include using namespace std; int main(){ int number[10]={36, 81, 45, 17, 69, 3, 23, 92, 70, 54}; int index; while(1){ // input index (must be 0 - 9) // print content } return 0; } Question 2 #include using namespace std; int main(){ // declare and initialise the array int num, i; while(1){ // input num // linear search i=0; while(___){ i++; } if(___) cout << "Not found" << endl; else cout << "Index=" << i < using namespace std; int main(){ int number[10]={36, 81, 45, 17, 69, 3, 23, 92, 70, 54}; int index, value, i; while(1){ // print array // input index // input reset value // assign value to number at index } return 0; } Question 4 #include using namespace std; int main(){ // variable declaration and initialisation while(1){ // print array // input two indexes // swap } return 0; } Quesiton 5 #include using namespace std; int main(){ int total, number[100],i; // input total number of integers (must be 1 to 100) // input the integers into the array // print integers in reverse order return 0; } Question 6 #include using namespace std; int main(){ int total, number[100],i; // input total number of integers (must be 1 to 100) // input the integers into the array // print the odd numbers in the array cout<<"the odd numbers are: "; // print the odd entries in the array cout<<"the odd entries are: "; return 0; } Question 7 #include #include #include int main(){ int number[6],drawn[50],i,num; // initialisation random number generator // initialise drawn array to 0 for(i=0;i<6;i++){ // pick 6 random number // generate a random number and check the drawn array to see if it is picked // assign the random number to number array // update the status in drawn array } // print out numbers in the number array return 0; } Question 10 #include using namespace std; int main(){ int number[100]={36, 81, 45, 17}; int index, total=___; while(1){ // print array // input index // input new value // update array // update total } return 0; } Question 11 #include using namespace std; int main(){ int number[10]={36, 81, 45, 17, 69, 3, 23, 92, 70, 54}; int index, total=___; while(1){ // print array // input index // update array // update total } return 0; }