//Program by Ian Wilkes from Instant C++ Programming //FIRST BLOCK #include //SECOND BLOCK void main() { //THIRD BLOCK const int SIZE=100; int counter=0; int i=0; float number[SIZE]; float sum=0.0; float average; char ch='Y'; //FOURTH BLOCK while((ch=='Y') || (ch=='y')) { cout<<"Please enter a number: "; cin>>number[i++]; counter++; cout<<"Do you wish to enter another number? (Y/N) "; cin>>ch; } //FIFTH BLOCK for(i=0; i < counter; i++) sum+=number[i]; //SIXTH BLOCK average = sum / counter; cout<<"The average of the numbers input is "<