// Find total, count, print average do while 'Y' #include using namespace std; void main() { int count=0; double total=0.0, num; char answer; do { cout<<"Enter number: "; cin>>num; // read next number total+=num; count++; cin.ignore(100,'\n'); //flush the \n from the buffer cout<<"Are there any more numbers? Y or N:"; cin>>answer; } while (answer=='Y' || answer=='y'); //accept either Y or y cout<<"Total = "<