Define a default constructor that initializes the fields gasTank (integer), weekendPrice (character), and mileage (integer) with the default values 1, 'N', and 0, respectively.

Ex. If the input is 79 Y 142000, then the output is:
Default values:
Gas tank: 1, Weekend price: N, Mileage: 0
After mutator methods:
Gas tank: 79, Weekend price: Y, Mileage: 142000

Note: The class's print() method is called before and after the input is passed to the setters.

RentalCar.java
RentalShop.java

1 public class RentalCar {
2 private int gasTank;
3 private char weekendPrice;
4 private int mileage;

Your code goes here ¹/

public void setGasTank(int rentalCarGasTank) {
gasTank = rentalCarGasTank;
}

public void setWeekendPrice(char rentalCarWeekendPrice) {
weekendPrice = rentalCarWeekendPrice;
}

public void setMileage(int rentalCarMileage) {
mileage = rentalCarMileage;
}