Hello, Help Me Please With algorithm. I have a really hard task with C++.
Here's my txt files
Classes first number class second day third lesson number and last one lesson name
2a monday 1 history 2 math 3 biology 4 x
2a tuesday 1 math 2 history 3 art 4 music
2a wednesday 1 biology 2 history
2a thursday 1 math 2 programming 3 art
2a friday 1 math 2 x
2b monday 1 math 2 biology 3 art 4 x
2b tuesday 1 art 2 math 3 biology 4 x
2b wednesday 1 biology 2 geography 3 music
2b thursday 1 histrory 2 math 3 art
2b friday 1 music 2 technology 3 art
Teachers (sport) first number day second which lesson are the sport and last one if the have that lesson 1-yes 0-no.
And I need to chech them.
For example if in Classes txt file on Monday are x and in Teachers on monday is 4(lesson) and 0(teacher dont hav a lesson) and in BestTime on monday is 4 then program should writte Sport instead of x in a timetable.