#include using namespace std; int main() { int menuChoice = 0; int numBooks = 0; int numMovies = 0; double numPdsPeanuts = 0.0; cout << "1 books" << endl; cout << "2 movies" << endl; cout << "3 peanuts" << endl; cout << "Enter your choice: "; cin >> menuChoice; if (menuChoice == 1) { cout << "Enter number of books: "; cin >> numBooks; if (numBooks > 200 || numBooks < 0) { cout << "IDIOT" << endl; } else { // do calculations } } return 0; }// end of main /* if (numBooks > 0 && numBooks < 200) { cout << "You are NOT an idiot" << endl; } is equivalent to: if (numBooks > 0) { if (NumBooks < 200) { cout << "Not idiot" << endl; } } ************************************ if (numBooks < 0 || numBooks > 200) { cout << "Idiot" << endl; } is equivalent to: if (numBooks < 0} { cout << "idiot" << endl; } if (numBooks > 200) { cout << "idiot" << endl; } ********************************/