Write a Menu Driven C++ program that creates a two-dimensional array/Matrix of size n*m where n represents the students and m represents the subjects and initializes it with the user. The program should do the following Tasks using Menu, the menu operations are implemented using functions: a) Total_Marks: Calculates total/sum of the values in the specified row (student). b) Avg_Subject: Calculates the Average of the values in the specified column (subject). c) Stud_Highest: Finds the highest value in the specified row of the array and returns that subject name. d) Stud_Lowest: Finds the lowest value in the specified row of the array and return that subject name.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.1: One-dimensional Arrays
Problem 10E: (Electrical eng.) Write a program that specifies three one-dimensional arrays named current,...
icon
Related questions
Question

Write a Menu Driven C++ program that creates a two-dimensional array/Matrix of size n*m where n represents the students and m represents the subjects and initializes it with the user. The program should do
the following Tasks using Menu, the menu operations are implemented using functions:
a) Total_Marks: Calculates total/sum of the values in the specified row (student).
b) Avg_Subject: Calculates the Average of the values in the specified column (subject).
c) Stud_Highest: Finds the highest value in the specified row of the array and returns that subject name.
d) Stud_Lowest: Finds the lowest value in the specified row of the array and return that subject name.

Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning