This assignment is located in Chapter 5, “Loops and Files”, the section “Programming Challenges” number 21, “Slot Machine Simulation”.
The assignment is to provide a Java program that implements the requirements as stated. In addition, there are two additional requirements.
1. Create a UML diagram for the program.
2. Provide a list of tests to prove that the program works correctly. There should be at least 8 test cases.
You should create and submit a ZIP file with that includes the following deliverables:
1. The UML diagram.
2. The set of test cases.