Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
C#. Basics
Subroutines: procedures and functions - 1
Module:
Subroutines: procedures and functions - 1
Problem
5
/11
Two options
Problem
Write a procedure that takes two – a natural number
N
, and a string
S
– and displays the string
S
by repeating it
N
times.
Example.
Input
Output
3
okokok
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary