Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+22 votes
asked in CSC285_Fall2018 by (1 point)

1 Answer

+8 votes

If you mean trying to write into the csv file, we used a StringBuilder to build a string that contained all of the information that we needed to put into the csv. Then we used s.append(",") to change the columns. (where s is the StringBuilder)

As a whole, we had a FileWriter to which we appended the StringBuilder.

If you just mean to go across the columns, then add a comma to whatever you are using to write the csv file. (CSV stands for comma separated values, so you need a comma to separate the values).

answered by (1 point)
...