Ладно, "помогаю":
Код:
uses crt;
type
studlib = record
FIO:string;
Birth_Date:string;
Course:Byte;
Year:word;
Marks:Array[1..3] of Byte;
Mmark:Real;
end;
var
stud:Array[1..100] of studlib;
i,N:Byte;
Procedure Out_Date(std:Studlib);
var j:byte;
begin
with std do
begin
write(FIO);
for j:=Length(FIO)+1 to 30 do write(' ');
write(Birth_Date);
write(Course:3);
write(Year:5);
for j:=1 to 3 do
write(Marks[j]:4);
writeln(Mmark:7:2);
end;
end;
BEGIN
clrscr;
N:=0;
writeln('Vvodite dannie o studentax');
repeat
Inc(N);
with stud[N] do
begin
write('FIO: ');
readln(FIO);
write('Birth Date (dd.mm.yyyy): ');
readln(Birth_Date);
write('Course: ');
readln(Course);
write('Year of entry: ');
readln(Year);
Mmark:=0;
for i:=1 to 3 do
begin
write('Mark ',i,' = ');
readln(Marks[i]);
Mmark:=Mmark+Marks[i]/3;
end;
end;
clrscr;
writeln ('ENTER-continue, ESC-quit');
until (readkey=#27) or (N=100);
clrscr;
writeln('Student list:');
for i:=1 to N do
Out_Date(stud[i]);
writeln;
writeln('Press "Enter" to continue');
readln;
clrscr;
writeln('Granted students:');
for i:=1 to N do
if stud[i].Mmark>=7.0 then
Out_Date(stud[i]);
readkey;
END.