Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Basic of Java
(Java) Subroutines: procedures and functions - 1
Module:
(Java) Subroutines: procedures and functions - 1
Problem
8
/11
Right triangle
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