I want to create a tabular display that has a name, ID, course year and GPA and have the spacing in the name and courses to be based on the longest name and course there is
I tried using align specifiers, but it can be hard to just assume that the longest name available would be the same each time the program is run
You will need to iterate through your data to figure out the width of each column:
and here is the corresponding output: