Easy
First Look: Rows and Columns
Read the table and print its number of rows and columns, then the column names separated by spaces.
Input
A CSV table: a header line, then one line per row (an empty field means a missing value), then a line END.
Output
Two lines: rows and columns as two integers, then the column names.
Sample 1
Input
dept,hours,score CSE,12,85 EEE,5,52 CSE,,78 BBA,2,31 EEE,7, END
Output
5 3 dept hours score
Sample 2
Input
a,b,c,d 1,2,3,4 5,,7,8 ,,, 9,10,11, END
Output
4 4 a b c d
Output appears hereHints