// and_01.cpp -- how to use the AND logical operator
#include <iostream>
#include <cstring>

int main()
{
    using namespace std;
    int num;

    cout << "Please enter a number between 0 and 100: ";
    cin >> num;

    // checks to see if num is both greater than 25 and less than 75
    if (num > 25 && num < 75)
      cout << "\nYour number is between 25 and 75.\n";
    else 
      cout << "\nYour number is not between 25 and 75.\n";
}
