Question: Use a loop to print a table displaying the twelve records. The table should be formatted as follows: The first row of output should contain
Use a loop to print a table displaying the twelve records. The table should be formatted as follows:
The first row of output should contain column headers.
The second row should be a dividing line consisting of dashes.
The table should have columns for student ID first name, last name, course id course name, and grade.
The number of characters reserved for each column should be and in that order
All columns should be leftaligned except for the grade column, which should be rightaligned.
The first few rows rows of the output are shown below. Try to match the format of this output exactly.
SID First Last CID Course Name Grade
Jason Penopolis ENGL Composition I D
Brendan Small MATH College Algebra C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
