Textbooks.elsevier.com - tools for all your teaching needs.

8) Write a function that will receive an integer n and a character as input arguments, and will print the character n times. printNChars.m. function printNChars(n, ch) % Receives n and a character and prints % the character n times % Format of call: printNChars(n, character) % Does not return any values. for i = 1:n. fprintf('%c', ch) end ... ................
................