Question: Write program that contains three functions:printLine(),printSentence() andgetName(). TheprintLinefunction uses thecoutobject to print two lines of **************************************************. ThegetNamefunction gets and returns a first name entered by
Write program that contains three functions:printLine(),printSentence() andgetName().
TheprintLinefunction uses thecoutobject to print two lines of "**************************************************".
ThegetNamefunction gets andreturnsa first name entered by the user.
Call these three functions in the main function to produce the following output:
*************************************************
*************************************************
*************************************************
*************************************************
Happy Birthday to you.
Happy Birthday to you.
Happy Birthday, dear
Happy Birthday to you.
*************************************************
*************************************************
*************************************************
*************************************************
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
