Question: c++ please, only q 1 1. Write a program that prints n copies of character x using function repeatchar() as follows: . If r or

c++ please, only q 1
1. Write a program that prints n copies of character x using function repeatchar() as follows: . If r or n are not specified, prints 50 copies of the character asterisk *. . If only is specified, prints 50 copies of character a. If both x and n are specified, prints n copies of character I. Write the three versions of the repeatchar() function in the following program: /* File: repeatcharoverload.cpp This program uses a number of different functions to print multiple copies of a character Programmer: your name Date: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
