Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Pascal. Basics
Subroutines: procedures and functions - 1
Module:
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
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary