# week 4 deel 2 ## opdracht 1 output: ```bash $ ./main tijd: 0 kassa 1: kassa 2: kassa 3: tijd: 1 kassa 1: kassa 2: kassa 3: * * tijd: 2 kassa 1: * * kassa 2: * * kassa 3: * * * * * * tijd: 3 kassa 1: * * * * * * * * * * kassa 2: * kassa 3: * * * * * * * tijd: 4 kassa 1: * * * * * * * * * * * * * * * kassa 2: * * kassa 3: * * * * * * * * * * * * ``` etc. ## opdracht 2 ```bash $ cat input.txt I(){}E{}[] D{I(){}}W([]) D{I(){}I(){}I(){}}W([]) E{I(){}}W([]) I{[}] D{}I(){} $ ./main < input.txt line 1 is valid line 2 is invalid line 3 is invalid line 4 is invalid line 6 is invalid line 7 is invalid $ ```