配列
n個の整数の入力があって、その平均を求めるプログラムを考えてみよう。
program mean(input,output); const n = 5; var i : integer; s,m : real; begin for i := 1 to n do