In C++ Create a program that does the following: A menu with Registration of Student with his subject and four grades and Calculate the average per student. Its fine if you dont include "idStudent" or "identification", and its not necessary to use 4 grades, at a minimum it can be 2.   Please and thank you, I would like to see how experts aproach this code and it will help me alot to learn about menus.   UML Diagram Student idAStudent name idSubject  Student::Student() Student::Student(int,string,int) getIdStudent():int getname():string getIdSubject():void setIdStudent(int):int setname(string):void setIdSubject(int):int   Grade idGrade Name Grade1 Grade2 Grade3 Grade4 Grade::Grade() Grade::Grade(int,string,int,int,int,int) getIdGrade():int getname():string setidGrade(int):void setname(string):void getgrade1():int getgrade2():int getgrade3():int getgrade4():int setgrade1(int):void getgrade2(int):void getgrade3(int):void getgrade4(int):void Average(grade1,grade2,grade3,grade4):int sample():void Example idStudent name identification Subject name grade 1 grade 2 grade 3 grade 4 101 gaby 1 Math 100 90 90 40 102 Pepe 1 Math 100 90 100 80 103 Jose 2 History 50 100 100 90 104 Omar 2 History 90 90 90 90

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
100%

In C++

Create a program that does the following:


A menu with

Registration of Student with his subject and four grades and Calculate the average per student.

Its fine if you dont include "idStudent" or "identification", and its not necessary to use 4 grades, at a minimum it can be 2.

 

Please and thank you, I would like to see how experts aproach this code and it will help me alot to learn about menus.

 

UML Diagram

Student

idAStudent

name

idSubject 

Student::Student()

Student::Student(int,string,int)

getIdStudent():int

getname():string

getIdSubject():void

setIdStudent(int):int

setname(string):void

setIdSubject(int):int

 

Grade

idGrade

Name

Grade1

Grade2

Grade3

Grade4

Grade::Grade()

Grade::Grade(int,string,int,int,int,int)

getIdGrade():int

getname():string

setidGrade(int):void

setname(string):void

getgrade1():int

getgrade2():int

getgrade3():int

getgrade4():int

setgrade1(int):void

getgrade2(int):void

getgrade3(int):void

getgrade4(int):void

Average(grade1,grade2,grade3,grade4):int

sample():void

Example

idStudent

name

identification

Subject name

grade 1

grade 2

grade 3

grade 4

101

gaby

1

Math

100

90

90

40

102

Pepe

1

Math

100

90

100

80

103

Jose

2

History

50

100

100

90

104

Omar

2

History

90

90

90

90

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to Coding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Similar questions
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