Write a program in Java that prints the amount of taximeters based on the distance traveled in kilometers.
condition1: 2.20 per kilometer
condition2: The minimum payment amount is 20. If less than 20, 20 will still be paid
condition3: açılış ücreti 10