#include #include using namespace std; int main() { int numBooks = 0; // # of books for this order int totalNumBooks = 0; // total # of books ordered by customer while (numBooks >= 0 && numBooks <= 10) { cout << "Enter number of books: "; cin >> numBooks; totalNumBooks += numBooks; } cout << "The total number of books ordered is " << totalNumBooks << endl; system("pause"); return 0; }// end of main