Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a program which uses two two-dimensional arrays as follows: an array which can store up to 50 student names where a name is




  

Design a program which uses two two-dimensional arrays as follows: an array which can store up to 50 student names where a name is up to 25 characters long - an array which can store marks for 5 courses for up to 50 students The program should first obtain student names and their corresponding marks for a requested number of students from the user. Please note that the program should reject any number of students that is requested by the user which is greater than 50. The program will compute the average mark for each course and then display all students and their marks, as well as the average mark for each course. A sample output produced by the program is shown below, if assumed that the user entered marks for 4 students. Please note that the computation of the average mark for each course should use type casting. Student PRG DGS MTH ECR GED Ann Smart 93 85 87 83 90 Mike Lazy Yo Yo 65 78 57 65 61 69 58 72 68 75 M 84 79 83 81 83 AVERAGE 80.0 71.5 75.0 73.5 79.0

Step by Step Solution

3.45 Rating (148 Votes )

There are 3 Steps involved in it

Step: 1

studentcpp include include include using namespace std int main int max50 char studentNames25ma... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Management Science

Authors: Wayne L. Winston, Christian Albright

5th Edition

1305631540, 1305631544, 1305250907, 978-1305250901

More Books

Students also viewed these Programming questions