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

+7 votes
asked in CSC305 Fall 2021 by (1 point)

2 Answers

+1 vote

Can you provide more a specific context?

answered by (1 point)
+1 vote

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 (1 point)
...