// ordering between 1 and 100 apples, using AND
#include <iostream>
using namespace std;

int main ()
{
  int numApples;   // initialize variable for number of apples

  // Obtain number of apples to order from user
  cout << "How many apples? ";
  cin >> numApples;

  if (numApples>0 && numApples<=100)
     // if 0<numApples<=100, confirm the order
     cout << "Here are your apples!\n";
  else
     // otherwise, reject the order
     cout << "Invalid number.\n";

  return 0;
}