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.


+9 votes

What logic did you use to sort out the classroom name, class number and the days?

asked in CSC305 Fall 2019 by (1 point)

1 Answer

+1 vote

Since some of the classes don’t have days of week, faculty, etc, look for something the test case, no matter what, will always contain. If it will always contain a room number, you can separate it like that.

answered by (1 point)