Title Background Program Specifications: Function Details
Title Background Program Specifications: Function Details
D: mark < 4.
Function details:
Users run the program. The program prompts users to input Student data.
When users stop inputting Student data, next Function 2.
Guidelines
- createStudent
- averageStudent
- getPercentTypeStudent
in startup code.
Suggestion:
Create a class Student contains the following properties:
- Student Name, Class, Math, Physical, Chemistry, Average, Type.
Create a class Mark Calculation, classify students, calculate Student Type statistics, and set the results on Student object.
Give the statistics:
A:? %
B:? %
C:? %
D:? %
Function1: Input student information
o Must create function: Student createStudent(String name, String classes, double maths, double chemistry,
double physics)
Input:
classes: Class.
Return:
Student object.
Input:
Input: