The task was to calculate the cost of a flight for a customer based on: the city they were flying to, the number of adult seats purchased and the number of child seats purchased.

I am still a beginner to programming and was wanting to find a way to reduce the number of if statements that I have had to use. The program runs perfectly as is, but I think it is sloppy. Any suggestions? 

```
    int Johannesburg [] = {780,658}; //flight price for adult and child respectively
    int CapeTown [] = {1020,965}; 
    int Bloemfontein [] = {945,835}; 

    int totPrice = 0; // intialization of final price value

    String cityChoice = (String)cmbDest.getSelectedItem(); //city that the customer is flying to
    int adults = (Integer)jSpinner1.getValue(); //number of adults flying
    int kids = (Integer)jSpinner2.getValue(); //number of children flying 

    if(cityChoice.equals("Johannesburg")){
        totPrice = Johannesburg[0]*adults + Johannesburg[1]*kids;
    }
    if(cityChoice.equals("Cape Town")){
        totPrice = CapeTown[0]*adults + CapeTown[1]*kids;
    }
    if(cityChoice.equals("Bloemfontein")){
        totPrice = Bloemfontein[0]*adults + Bloemfontein[1]*kids;
    }
    jTextArea1.setText("Your booking for " + adults + " adult ticket(s) and " + kids + "children ticket(s) for " + cityChoice + " will cost R" + totPrice); //output statement

```