Question: Test 2 CSCI 221 Spring 2017 (2/22/2017) Name 15.(10 points) Write a function called printChar that takes a char to print and a number that

Test 2 CSCI 221 Spring 2017 (2/22/2017) Name 15.(10 points) Write a function called printChar that takes a char to print and a number that is how many times to print it, and then prints the given char that many times.. Example: printChar('z',6) would print: zzzzzz Cinepyint chai> Cout(6) -9 vaid Print chay (clare,i#x)[ For (int i=0, i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
