CS1083/Source Code/Assignment 5/logs/Log3.txt

109 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2022-10-07 00:44:12 -03:00
Enter number of passengers permitted on ferry: 6
Enter number of axels allowed on ferry: 6
Enter weight limit for ferry: 1200
Enter number of vehicles ferry can hold: 2
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
2
Enter vehicle ID:
1001
The specified vehicle could not not be found
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
3
Enter vehicle ID: 1001
Enter new number of passengers: 5
The specified vehicle could not not be found
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
4
Total Weight: 00,000.00 kg
Total Axels: 0
Total Passengers: 0
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
5
1200.0
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
1
Enter number of passengers: 2
Enter number of axels: 2
Enter weight: 400
==> vehicle added
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
1
Enter number of passengers: 600
Enter number of axels: 2
Enter weight: 200
The vehicle would put the ferry over the passenger limit
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
1
Enter number of passengers: 2
Enter number of axels: 600
Enter weight: 200
The vehicle would put the ferry over the axel limit
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
1
Enter number of passengers: 2
Enter number of axels: 2
Enter weight: 7000
The vehicle would put the ferry over the weight limit
Please select one of these options:
1. Add a vehicle
2. Remove a vehicle
3. Change passengers in a vehicle
4. Print ferry contents list
5. Print weight left
6. Quit
6
Process finished with exit code 0