Parse CSV from stdin and sum a column.
Read multiple lines of CSV. First line is the header. One column is "amount". Print the sum of that column as an integer.
Test input:
name,amount
apples,10
bread,5
milk,3
Expected output: 18
Sign in to save your code and track progress across devices.