Question: Write a C program that contain a user-defined function reps(). When the function is called as reps(number,output), where number is an integer and output is

Write a C program that contain a user-defined function reps(). When the function is called as reps(number,output), where number is an integer and output is a character In the reps(number,"4") function, the function will print a line consisting of number times of output FA For example, if number = 5 and output = '@' it prints @ 5 times -> @@@@ Complete the program with calls to the above function from within main(). where: number, output = 5.* number,output = 10,?! and number output = 20,">
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
