Menu

(Solved) : Exercise 1 Use Dynamic Array Solve Exercise Write Native C Program Allows Unlimited Number Q26227701 . . .

Exercise 1: Use dynamic array to solve this exercise
Write a native C++ program that allows an unlimited number ofstudent’s data (student’s ID, names, score, subject (at least one))to be entered and stored in an array allocated in the free store.The initial array size should be five elements. The program shouldcreate a new array with five additional elements when necessary andcopy values from the old array to the new.
The program should be able to perform the followingoperations:
– Read and store new student’s data into the list;
– Delete student from the list;
– Sort the student by score
– And print the list of student. The output should be as follows:Student’s ID, followed by his names, followed the subject, followedby the test score, followed by the test grade. Assume the followinggrade scale: [90 – 100] = A; [80 – 90[ = B; [70 – 80[ = C; [60 –70[ = D; [0 – 60[= F; (More than 100 and less than 0) = N.

Expert Answer


Answer to Exercise 1 Use Dynamic Array Solve Exercise Write Native C Program Allows Unlimited Number Q26227701 . . .

OR