K
kickioly
Hi everyone, this is my first time here and i hope it will not be the
last, i have a problem here solving this C++ problem,and i hope that
someone here to solve it and i'll be happy if you do it for me.
Write a C++ program that calls the following functions:
a) READSTUDENTS that reads students' Name, Address, Date of Birth,
and 4 marks: First test mark (0 - 10), Midterm exam mark (0- 20), Lab
mark (0-30) and Final exam mark (0-40).
b) CalculateTotalMark that calculates, for each student, the total mark
earned (0 - 100).
c) FindGrade that finds the relevant character grade for each student.
d) CalculateAverage that calculates the Class average.
e) DisplayBelowAverage that displays students' name, address and
date of birth of with total mark below class average.
Notes:
1. The total number of students is not known in advance: You should
find a way to stop reading students' information!!
2. Store students' information in an array of struct.
3. Choose appropriate parameters (calling by value / by reference) to
all the functions needed.
4. Do not use global variables!!!
last, i have a problem here solving this C++ problem,and i hope that
someone here to solve it and i'll be happy if you do it for me.
Write a C++ program that calls the following functions:
a) READSTUDENTS that reads students' Name, Address, Date of Birth,
and 4 marks: First test mark (0 - 10), Midterm exam mark (0- 20), Lab
mark (0-30) and Final exam mark (0-40).
b) CalculateTotalMark that calculates, for each student, the total mark
earned (0 - 100).
c) FindGrade that finds the relevant character grade for each student.
d) CalculateAverage that calculates the Class average.
e) DisplayBelowAverage that displays students' name, address and
date of birth of with total mark below class average.
Notes:
1. The total number of students is not known in advance: You should
find a way to stop reading students' information!!
2. Store students' information in an array of struct.
3. Choose appropriate parameters (calling by value / by reference) to
all the functions needed.
4. Do not use global variables!!!