Electrical and Computer Engineering
22 of 24
UAH
CPE 112
Form Letter (continued)
•int main()
•{
•    string first;        // Holds the first name plus a blank
•    string fullName;     // Complete name, including title
•    string firstLast;    // First name and last name
•    string titleLast;    // Title followed by the last name
•
•    // Create first name with blank
•    first = FIRST_NAME + " ";
•
•    // Create full name
•    fullName = TITLE + " " + first + MIDDLE_INITIAL;
•    fullName = fullName + ". " + LAST_NAME;
•
•    // Create first and last name
•    firstLast = first + LAST_NAME;