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


Problem

4/12

Rectangle: writing a procedure

Problem

Write a procedure that takes one parameter – natural number N, – and displays a rectangle of length N  and 3 characters high (use the English letter 'o' as the character).

Example:
Input
7
Imprint
ooooooo
ooooooo
ooooooo