Click here to Skip to main content
15,882,464 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Write a C++ program using Linked-Implementation of Stack to store information about students as follows;

STD_ID                                // To store Student’s ID

STD_Name                         // To store Student’s Name

English_Mark                     // To store Student’s points in English course

Math_Mark                        // To store Student’s points in Mathematics course

Arabic_Mark                      // To store Student’s points in Arabic course

AVG                                     // To store Student’s Average in these courses

In your program, you must generate a menu used while the user runs the program. The menu must show the following tasks:

1-     Add Student into Stack

2-     Remove Student from the Stack

3-     Update Student’s Info (i.e. STD_ID, STD_Name, English_Mark, Math_Mark , Arabic_Mark)

4-     Calculate the Avg for a specific student

5-     Calculate the AVG for All of Students

6-     Find the Student who has the maximum average

7-     Find the student who has the minimum average

8-     Find the Student who has the maximum points in English

9-     Find the Student who has the maximum points in Mathematics

10-  Find the Student who has the maximum points in Arabic

0 - Exit

What I have tried:

make a menu as bellow and make the operations on it
describe every step you make
Updated 2-Jan-23 20:40pm
Richard MacCutchan 3-Jan-23 4:22am    
Well it is easy to see which student has zero points.
OriginalGriff 3-Jan-23 4:35am    

You tried nothing and the question even lacks of (necessary) details.
Well, good luck!
Share this answer
You have to answer this
No - no, I don't. You do.

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900