Create three functions that print your initials in capital block letters made out of stars. For example, the letter A would look like so: Include the following: 1. Each letter gets its own function. (If you happen to have a name with two or more letters the same then you won't need as many functions!) 2. Include the three function prototypes (one for each letter) before the main function. 3. Include the function documentation and prologue information with each function definition. 4. Place each of the function definitions after the main function. 5. The main function should call these three functions, so that the output is: first_initial (then print a blank line) middle_initial (then print a blank line) last_initial; 6. If you do not have a middle name, use "X". 7. If you have a name where two or more of the initials are the same then you only have to create functions those initials that are different. You can call the function for the repeating letter twice (or three times if all three initials are the same).

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 9SA
icon
Related questions
Question

my initials are D R H

Create three functions that print your initials in capital block letters made out of stars. For example, the letter A would look like so:
Include the following:
1. Each letter gets its own function. (If you happen to have a name with two or more letters the same then you won't need as many functions!)
2. Include the three function prototypes (one for each letter) before the main function.
3. Include the function documentation and prologue information with each function definition.
4. Place each of the function definitions after the main function.
5. The main function should call these three functions, so that the output is:
first_initial
(then print a blank line)
middle_initial
(then print a blank line)
last_initial;
6. If you do not have a middle name, use "X".
7. If you have a name where two or more of the initials are the same then you only have to create functions those initials that are different. You can call the function for the repeating letter twice (or
three times if all three initials are the same).
Transcribed Image Text:Create three functions that print your initials in capital block letters made out of stars. For example, the letter A would look like so: Include the following: 1. Each letter gets its own function. (If you happen to have a name with two or more letters the same then you won't need as many functions!) 2. Include the three function prototypes (one for each letter) before the main function. 3. Include the function documentation and prologue information with each function definition. 4. Place each of the function definitions after the main function. 5. The main function should call these three functions, so that the output is: first_initial (then print a blank line) middle_initial (then print a blank line) last_initial; 6. If you do not have a middle name, use "X". 7. If you have a name where two or more of the initials are the same then you only have to create functions those initials that are different. You can call the function for the repeating letter twice (or three times if all three initials are the same).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr