// count-char-types.C
// Name:  Gary T. Leavens
// TA:    Bjarne Stroustrup
// Section:  A1

#include <iostream.h>
#include "prompt.h"

int main()
  // MODIFIES: cin, cout
  // POST: a prompt is written to cout,
  // then characters are input from cin up to an EOF,
  // then summary information about the number of
  // digits, operators (+, -, *, /) and other non-whitespace characters
  // is written to cout.
{
  // prompt for input
  prompt("Type input for char type counting, please.\n"
        "End input with an end-of-file (EOF) character.\n");

  // initialize state
  int digitCount = 0;
  int operatorCount = 0;
  int otherCount = 0;

  char ch;
  cin >> ch;

  while (cin) {
    // update the state
    cin >> ch;
  }

  // print summary info

  return 0;
}
