Module: サブルーチン: プロシージャと関数 - 1


Problem

5/12

2 つのオプション

Problem

2 つのパラメーターを受け取るプロシージャを作成します –自然数 N と文字列 S –文字列 S を画面に出力し、N 回繰り返します。

<頭> <本体>
# 入力 出力
1 3
わかりました
ココック
Write the program below
var i, n: integer;
    s: string;

// напишите процедуру ниже    
begin
    readln(n);
    readln(s);
    printLine(n, s);
end. 

     

Program check result

To check the solution of the problem, you need to register or log in!