Problem Statement
Write a function void printRepeat(char c, int n) that prints the character c exactly n times followed by a newline.
DEMO-OOP-33 โข Object Oriented Programming
Write a function void printRepeat(char c, int n) that prints the character c exactly n times followed by a newline.
A character and an integer.
The character repeated n times.
Submit runs every public testcase in this browser. Results and code never leave this device.
* 5
*****
A 1
A
- 10
----------
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question