Electrical and Computer Engineering
21 of 24
UAH
CPE 112
Form Letter Program
•//************************************************************
•// FormLetter program
•// This program prints a form letter for a promotional contest.
•// It uses the four parts of a name to build name strings in
•// four different formats to be used in personalizing the letter
•//**************************************************************
•
•#include <iostream>
•#include <string>
•
•using namespace std;
•
•const string TITLE = "Dr.";             // Salutary title
•const string FIRST_NAME = "Margaret";   // First name of addressee
•const string MIDDLE_INITIAL = "H";      // Middle initial
•const string LAST_NAME = "Sklaznick";   // Last name of addressee