Siyazama High School Grade Management The Siyazama High School principal approached you for your C++ programming expertise. They want a software solution for their teachers who manage student marks. The teachers record the student’s name and surname, the continuous assessment mark out of a 100 and the final term mark out of 100. They then always work with their class lists to analyse and review the students’ performance. Source: Mlotshwa, M. (2021) Question 5 Write a C++ program that will:   Accept student’s information into three parallel arrays. The capture of the students’ marks must be a sentinel-controlled mark that is below zero for either the continuous assessment (term) mark or the final mark. Use a sentinel-controlled loop that will exit when the user types in the word ’Done’ instead of a student’s name. For each mark, use a function: int validateData(string,int) that receives a message to be displayed to the user in case the mark is not acceptable, and also the captured mark. Marks can only be between 0 and 100.  The program should be menu driven, with the options: Capture Student Marks, Sort the Class List, Display the Class List, Exit.    Use any sort algorithm to sort the data such that the best student by Final Mark is at the top of the list. The Display option should display the values of the array whether sorted or not yet sorted, neatly formatting the columns of data.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Siyazama High School Grade Management

The Siyazama High School principal approached you for your C++ programming expertise. They want a software solution for their teachers who manage student marks. The teachers record the student’s name and surname, the continuous assessment mark out of a 100 and the final term mark out of 100.

They then always work with their class lists to analyse and review the students’ performance.
Source: Mlotshwa, M. (2021)

Question 5

Write a C++ program that will:

  1.   Accept student’s information into three parallel arrays. The capture of the students’ marks must be a sentinel-controlled mark that is below zero for either the continuous assessment (term) mark or the final mark. Use a sentinel-controlled loop that will exit when the user types in the word ’Done’ instead of a student’s name. For each mark, use a function: int validateData(string,int) that receives a message to be displayed to the user in case the mark is not acceptable, and also the captured mark. Marks can only be between 0 and 100.

  2.  The program should be menu driven, with the options: Capture Student Marks, Sort the Class List, Display the Class List, Exit. 

  3.   Use any sort algorithm to sort the data such that the best student by Final Mark is at the top of the list. The Display option should display the values of the array whether sorted or not yet sorted, neatly formatting the columns of data.

     

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY