Module: Subroutines: procedures and functions - 1


Problem

9/11

triangle in a different way

Problem

Write a procedure that prints a right triangle with  n characters ' on its sides ;m'.

Example.

 

Input Output
3   m
 mm
mmm