// ordering between 1 and 100 apples, using OR
#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)
// otherwise, reject the order
cout << "Invalid number.\n";
else
// if 0<numApples<=100, confirm the order
cout << "Here are your apples!\n";
return 0;
}