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

+5 votes
asked in CSC305 Fall 2021 by (8 points)

2 Answers

0 votes

Can you provide more a specific context?

answered by (8 points)
0 votes

I would compare x and y coordinates for each of the classes. We then did this with a nested for loop. The first loop uses the first course class and the second loop iterates through our course HashMap. we compare x values and if they are the same (on the same day) we then checked the y values to see if they overlapped and if they did we changed the course color to red and added text.

answered by (8 points)
...