Question: 1-2 You are writing a pretty printer program that prints out student transcripts for all students enrolled in a degree. The students and their grades

 1-2 You are writing a "pretty printer" program that prints out

1-2 You are writing a "pretty printer" program that prints out student transcripts for all students enrolled in a degree. The students and their grades are encoded in a multi-dimensional array called "report_card" in which each row represents a student, and each column represents a course. All course names are encoded in a "courses" array, with the understanding that column Y in the "report card" is element Y in the "courses" array. In a similar manner, all student names are encoded in a "students" array and the student name at index X corresponds to row X in the "report card". Your "pretty_printer" program should define and initialize these three arrays and print them to stdout using a function. void print-class(string courses[4] , string students report-card?[4],int ns Signature : tudents) ,int There are 4 courses but any number of students. The first line of output must start with "Report Card" and be followed by the course names. Each of the 5 columns must be separated by a space and the last column is followed by a newline (std:endl). For each student there is a line of output with the student's name in the first column followed by each of their 4 marks. Example output (note "Quantum Mechanics" is one course in this example): 1 Report Card 00P Statics Electronics Quantum Mechanics 2 Joe 100 70 50 25 3 Bethany 100 100 75 50 1-2*

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!