Make a class a student with data members like name, age, gender, an array of 5 elements that stores marks of five subjects and few data methods that include
• getters and setters
• calculate which is responsible for calculating percentage and display grade according to:-
Make an array of 10 students and get proper values
For all the fields and display result of all 10 student
Keep in mind following validation if not fulfilled proper message should be displayed:
• marks should be between 0-100
• name can only contain alphabet and space
• age should be between 10 to 20
Answers
Answered by
0
Answer:
good day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great day is a great daydayyyryfzxghdzhdFkdZAYR
Similar questions
Social Sciences,
4 months ago
English,
4 months ago
Science,
4 months ago
Math,
9 months ago
Math,
1 year ago