Lab
9
Start Now
District status: Status for purple parking lot: 8 vehicles (CLOSED) Status for gold parking lot: 20 vehicles (33.3%)This code will look similar to `vehiclesParkedInDistrict` except that you will call `ParkingLot.toString` for each line, appending `"\n"` for the newlines. There should be a newline at the end of each line including the last. ### Testing and Sample Output As before, `ParkingDriver` exercises most of your code. The output is given below, but remember that having slightly different numbers may be ok and that matching our output does not automatically mean your solution is correct.
Status for blacktop parking lot: 0 vehicles (0%) Tiny District status: Status for red parking lot: 0 vehicles (0%) Status for green parking lot: 0 vehicles (0%) Status for blue parking lot: 0 vehicles (0%) District status: Status for red parking lot: 1 vehicles (CLOSED) Status for green parking lot: 0 vehicles (0%) Status for blue parking lot: 2 vehicles (CLOSED) Final TinyDistrict status: Status for red parking lot: 0 vehicles (0%) Status for green parking lot: 1 vehicles (CLOSED) Status for blue parking lot: 2 vehicles (CLOSED) Lots were closed for 3 min. in tiny district. Testing ParkingLot Status for test parking lot: 3 vehicles (75%) Status for test parking lot: 4 vehicles (CLOSED) Final status: Status for test parking lot: 0 vehicles (0%) Airport at time 7: District status: Status for brown parking lot: 7 vehicles (70%) Status for green parking lot: 14 vehicles (CLOSED) Status for black parking lot: 7 vehicles (58.3%) Airport at time 8: District status: Status for brown parking lot: 8 vehicles (CLOSED) Status for green parking lot: 14 vehicles (CLOSED) Status for black parking lot: 7 vehicles (58.3%) Airport at time 10: District status: Status for brown parking lot: 8 vehicles (CLOSED) Status for green parking lot: 14 vehicles (CLOSED) Status for black parking lot: 10 vehicles (CLOSED) Testing heavier usage. At end of day, all lots closed 42 min. Final District status: Status for pink parking lot: 17 vehicles (68%) Status for blue parking lot: 28 vehicles (CLOSED) Status for gray parking lot: 2 vehicles (20%) All tests finished.### Detailed Start A detailed list of steps to set up your project for Lab 9 for those who would like more explicit instructions. 1. Make sure your solution is working for Lab 8, especially the `ParkingLot` class. 2. Open Windows File Explorer (see [here](http://www.dummies.com/how-to/content/how-to-navigate-windows-7-with-windows-explorer.html) if you're not sure how) and navigate to the lab8 folder containing your previous solution. 3. Right click on the lab8 folder and select Copy. 4. Right click on the open space below the folder and select Paste. This will create a fresh copy of the project as "lab8 - Copy". 5. Right click on "lab8 - Copy", select Rename, and enter **lab9**. 6. In Windows File Explorer, browse to **lab9\src\parking**. 7. Download [`ParkingDriver.java`](ParkingDriver.java) and replace the old version of `ParkingDriver` by the new one. 8. Start IntelliJ and open the lab9 project. 9. In IntelliJ, confirm that the new `ParkingDriver` has syntax errors. If it doesn't, that means you're still using the old version - you'll need to fix that before going on. Ask for help if you need it! When you are done, go back to the [top](#changes) to see what to change. ## Lab Deliverables
See your professor's instructions for details on
submission guidelines and due dates.
See Prof. Jones for instructions
See Dr. Retert for instructions
Dr. Taylor's class: submit using the form below
See Dr. Thomas for instructions
If you have any questions, consult your instructor.
## Acknowledgement
This laboratory assignment was developed by
[Dr. Rob Hasker](http://faculty-web.msoe.edu/hasker/).
See Dr. Retert for instructions
Dr. Taylor's class: submit using the form below
See Dr. Thomas for instructions