Receiving "Cannot Find Symbol" "symbol: Class set" Error
<p>I'm new to programming and taking a programming course. I'm trying to set the code so that the passenger is eligible for a discount if their age is less than 18 or over 65. I'm not sure what I'm missing, but I just started learning so it may not be as obvious.</p>

<pre><code>// Airline.java - This program determines if an airline passenger is 
// eligible for a 10% discount. 

import javax.swing.*;

public class Airline
{
public static void main(String args[]) 
{
    boolean discount;               // Discount Variable
    String passengerName = "";  // Passenger's name.
    String ageString = "";          // String version of passenger's age.
    int passengerAge = 0;   // Passenger's age.

    // This is the work done in the housekeeping() method
    passengerName = JOptionPane.showInputDialog("Enter passenger's name: ");
    ageString = JOptionPane.showInputDialog("Enter passenger's age: ");

    passengerAge = Integer.parseInt(ageString);

    // This is the work done in the detailLoop() method 
    // Test to see if this customer is eligible for a 10% discount. 

    if ( passengerAge &lt;= 18 || passengerAge &gt;= 65 )
        {
        set discount = true;
        }
    else
        {
        set discount = false;
        }

    if ( discount = true );
        {
        System.out.println(passengerName + " is eligible for 10% discount.");
        }
    if ( discount = false );
        {
        System.out.println(passengerName + " is not eligible for 10% discount.");
        }
    // This is the work done in the endOfJob() method
    System.exit(0);
}
</code></pre>

<p>} </p>
