0
Could anybody help me how to find an average of numbers in a data structure of student record with fields name, surname,age etc
3 Answers
+ 5
Also gives us please a sample of your input data and the desired output.
0
type
student=record;
name:string [25];
surname:string [25];
age:integer;
gender:char;
marks:array[1..6] of record:
subject:string [20];
mark:integer;
end;
list=record;
element:array [1...100] of student
last:integer;
end;
0
I have to display: 1.Student(L.list,gender:char)
2.Average(L.list)
3.MaxAverage(L.list)