Module: (C++) Subroutines: procedures and functions - 1


Problem

10/12

triangle in a different way

Problem

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

Examples
# Input Output
1 3
  m
 mm
hmm