Информатика. Программа в Паскаль не работает. Выдает ошибку
Compiling main.pas
main.pas(1,9) Fatal: Syntax error, "BEGIN" expected but "identifier PROGRAMM" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
Сама программа:
Programm nom215;
var k, t:integer;
begin
t:=1;
for k:=2 to 5 do
t:=t*k;
writeln('k=', k);
writeln('t=', t);
end.