Question: Lab #3 -Arrays, Multi-dimensional Arrays Instructions: Please submit your answers (.cpp files with output embedded as comments and with appropriate documentation/comments) even if you couldn't

 Lab \#3 -Arrays, Multi-dimensional Arrays Instructions: Please submit your answers (.cpp

Lab \#3 -Arrays, Multi-dimensional Arrays Instructions: Please submit your answers (.cpp files with output embedded as comments and with appropriate documentation/comments) even if you couldn't complete/run them by the deadline. People who want to leave before the end of the lab need to get approval by showing the work and result. For each of the exercises, you need to write an algorithm in a comment section of the source code (.cpp). The algorithm can cover only the key portion of the solution. There is no need to write algorithms for trivial code. Some examples of algorithms are given at the end of this assignment. Exercise 1 (Multidimensional Arrays) Write a program that asks a student for his/her grades assessing his/her C++ programming skills. The student gets a separate grade for each homework assignment and the lab exam associated with it. In order for the student to pass the class, he/she needs to achieve 50% or better in all possible "dimensions", i.e., >=50% average in homework assignments >=50% average in lab exams Assume that the student has been given 5 "sets" of homework assignments and lab exams, respectively, and that the scores are given in percentages. The program should get input from the screen and do the following: a) Calculate the best, worst, and average grades for each of the two components (hw assignments and lab exams). b) Calculate the overall grade of the student with every component carries the same weight. c) Decide whether the student passes the class or not. If the student cannot pass the class, the program should output the reason why. d) Output on the screen the input and results so that they look similar to this (use appropriate tools for formatting I/O) : (option 1) Congratulations! You passed the class! (option 2) I'm sorry to inform you that you failed the class, because your performance in was

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!