Campaign Letter:
A local politician wants to generate personalized campaign letters.
Steps:
- Get the voter's first name and party affiliation
- Print the letter.
Functions:
- get_voter_data
- do_campaign_letter
What are the parameters?
Which are value and which are reference?
main |
|
get_voter_data |
|
<-- |
f_name |
|
<-- |
party |
main |
|
do_campaign_letter |
|
--> |
f_name |
|
--> |
party |
Structure Chart:
main
f_name, party f_name, party
get_temp print_activity