Program Task;
Const pupils = 20; subjects = 10;
Var marks: Array[1..pupils, 1..subjects] of Integer;
marks_average: Array[1..pupils] of Real;
i, j: Integer;
all_marks_average: Real;
Begin For i := 1 To pupils Do
Begin
WriteLn('Введите через пробел оценки ученика №', i);
For j := 1 To subjects Do
Read(marks[i, j]);
End;
For i := 1 To pupils Do
Begin
For j := 1 To subjects Do
marks_average[i] := marks_average[i] + marks[i, j];
marks_average[i] := marks_average[i] / subjects;
End; For i := 1 To pupils Do
all_marks_average := all_marks_average + marks_average[i];
all_marks_average := all_marks_average / pupils;
WriteLn('Результат: ', all_marks_average:2:2);
ReadLn;
<span>End.</span>
Ответ 97
5х19 плюс 3х20 равно 155
2х19 плюс 20 равно 58
155 минус 58 равно 97
••-- •-•• •• •-•- (Юлия)
-- •- - • -- •- - •• -•- •- (математика)
А) 5=z(3)
б) Z(a)=(b)
в) Z(5)=(8)
Зажимаешь Shift выделяешь все слои, правой кнопкой, расстрировать слои.