(Latest Revision: 02/13/2001)

FIRST CS 1500 SOLO PROGRAM
Making Block Letters with Functions


PRELIMINARIES:

You need to learn about program design, structure charts, functions, and basic C++ program structure before starting this assignment. To do that, read the first chapter of Shiflet.


THE ASSIGNMENT:

This assignment is similar to, but different from, problem #3 on page 39 of Shiflet. You will write a program that prints some block letters.

Specifially you will design a structure chart and write a program that has two functions besides main, called Letter_A and Letter_H. The Letter_A function must print a large block-letter A and Letter_H must print a large block-letter H. For example, Letter_A should produce output similar to the following:

          A
         AAA
       A     A
      A       A
     A         A
     AAAAAAAAAAA
     A         A
     A         A
     A         A
     A         A
The main function in your program must print AHAH down the page by alternately calling functions Letter_A and Letter_H two times each.

You must do this assignment with functions in the manner specified above. Your 'A' and your 'H' must each be at least 8 (small) characters high.

To refamiliarize yourself with the basic steps required for doing a programming assignment, please refer to the directions for the Hello World! sample programming assignment.


WHAT TO TURN IN:

You will be sending me two e-mail messages. Please follow these rules: Send the following items to me by e-mail before midnight on the due date :
  1. A copy of the source code (C++ code) with subject line: CS1500,prog1.f, and

  2. a script showing a test run of the program, with subject line: CS1500,scrp1.f .

Note that there are no spaces in the subject lines given. It is important that you do not insert any spaces. My e-mail address is: john@ishi.csustan.edu.


DUE DATES:

For the due dates, see the class schedule.