//
// This program prints names in different formats
//


#include <iostream>   
#include <string>

using namespace std;

const string FIRST = "James";  // First name
const string LAST = "Rudy";    // Last name
const char MIDDLE = 'S';       // Middle initial

int main()
{
  string firstlast;
  string lastfirst;

  firstlast = FIRST + " " + LAST;  // Format name in first then last form
  lastfirst = LAST + ", " + FIRST + " " + MIDDLE;  // Format name is last then first format

  cout << "In conversation, people call him " + firstlast + '.'<< endl;

  cout << "When being arrested, he is processed as " + lastfirst + '.'<< endl;

  return 0;
}
