// charDemo.cc   Demo of char data type
// P. Conrad, 2/23/2004

// Prompt user for integer "n".
// output n
// Prompt user for char "c"
// output char
// Prompt user for another integer, "k"
// output k

#include <iostream>
#include <iomanip>

using std::cout;
using std::cin;
using std::endl;

int main(void)

{
  int n,k;
  char c;

  // read in n

  cout << "Please enter an integer n > ";
  cin >> n;
  cout << "You entered " << n << " for n.\n";



  // read in c

  cout << "Please enter a character c > ";
  cin >> c;
  cout << "You entered " << c << " for c.\n";



  // read in k

  cout << "Please enter an integer k > ";
  cin >> k;
  cout << "You entered " << k << " for k.\n";



  return (0);

}

