/***************************************************
Letter or not a letter?

Write a program that reads in a character from
the user and prints "Letter" or "Not a Letter"
depending on whether or not what was input is a
letter.

Uppercase letters have ASCII values from 65 to 90.
Lowercase letters have ASCII values from 97 to 122.
***************************************************/
#include <iostream>
using namespace std;

int main()
{
  // Read char
  char c;
  cout << "Enter a letter: ";
  cin >> c;

  // Decide: Letter or not a letter?
  if ((c >= 65 && c <= 90) || (c >= 97 && c <= 122))
  {
    cout << "Letter" << endl;
  }
  else
  {
    cout << "Not a Letter" << endl;
  }
  return 0;
}