Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+6 votes

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

asked in CSC305 Fall 2019 by (2.1k points)

1 Answer

0 votes

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 (2.3k points)