function printRepeatChar(theChar,n)
% Print to the Command Window the character in variable theChar n times.
% n is non-negative integer.  
% Add a linebreak.

for k= 1:n
    fprintf('%c', theChar)
end
fprintf('\n')