Use named string constants wherever possible to avoid retyping any words or numbers. Be sure to include appropriate comments in your code, choose meaningful indentifiers, and use indentation as we do with the programs in this chapter.
###Assignment_2B
Problem 4 excerpted from page 88:
Write a program that prints out business cards for yourself. A card should include your name, street address, phone number(s), and email address. You also can make up a company name and put that on the card if you wish. To save paper, the program should print eight cards per page, arranged in two colums of four cards. To reduce typing, you should declare a named string constant for each line of the card, and then write output statements to print the eight cards using those constants. Be sure to include appropriate comments in your code, choose meaningful identifiers, and use indentation as we do with the programs in this chapter.
Output will appear as:
Michael McQuade Michael McQuade 700 N Greenwood Ave, Tulsa, OK 74106 700 N Greenwood Ave, Tulsa, OK 74106 918-594-8000 918-594-8000 michael.mcquade@okstate.edu michael.mcquade@okstate.edu
Michael McQuade Michael McQuade 700 N Greenwood Ave, Tulsa, OK 74106 700 N Greenwood Ave, Tulsa, OK 74106 918-594-8000 918-594-8000 michael.mcquade@okstate.edu michael.mcquade@okstate.edu
Michael McQuade Michael McQuade 700 N Greenwood Ave, Tulsa, OK 74106 700 N Greenwood Ave, Tulsa, OK 74106 918-594-8000 918-594-8000 michael.mcquade@okstate.edu michael.mcquade@okstate.edu
Michael McQuade Michael McQuade 700 N Greenwood Ave, Tulsa, OK 74106 700 N Greenwood Ave, Tulsa, OK 74106 918-594-8000 918-594-8000 michael.mcquade@okstate.edu michael.mcquade@okstate.edu