I don't know how to put this style into words. I put two set of { } and the output is the exact as what my prof expect me to do. Can you guys tell me what is the name of this style? And is it appropriate to do it like this?
The output should give, for example:
Enter the number of trains on Track 1. 5
Enter the number of trains on Track 2. 4
Enter the number of trains on Track 3. 3
Enter the number of trains on Track 4. 2
Track 1 has 1 train cleared and 4 train(s) stopped. Track 1 alert!
Track 2 has 4 train(s) stopped.
Track 3 has 3 train(s) stopped.
Track 4 has 2 train(s) stopped.