Java courses laboratory work 2
Self-describing code doesn't need to be covered with comments
Output
Total salary of all taxi are 3757.6565903192154
Lowest salary taxi is TimeTaxableTaxi{manufacturer=BMW, minutes=15}
Highest salary taxi is DistanceTaxableTaxi{manufacturer=Mazeratti, kilometers=5.9291360998236184}
Average salary among all taxi types is 250.51043935461436
Distance-taxable taxi total salary is 1558.824677972308
Time-taxable taxi total salary is 2198.8319123469073