(double,int) cannot be applied to (double)
<p>Been wracking my brain for hours trying to figure this out.</p>

<p>i have the main method which is:</p>

<pre><code>public static void main(String [] args)
    {
        double payRate;
        double grossPay;
        double netPay;
        int hours;

        Scanner input = new Scanner(System.in);

        System.out.println("Welcome to the Pay Roll Program");

        printDescription(); 

        System.out.print("Please input the pay per hour: ");
        payRate = input.nextDouble();

        System.out.println("\nPlease input the pay per hour: ");
        hours = input.nextInt();
        System.out.println("\n");


        netPay = computePaycheck(netPay);

        System.out.println("The net pay is $" + (netPay));
        System.out.println("We hope you enjoyed this program");

        System.exit(0);
</code></pre>

<p>and the method that calculated the netPay</p>

<pre><code>public static double computePaycheck(double payRate, int hours)
{


    double grossPay = computePaycheck(payRate*hours);

    double netPay = (grossPay - (grossPay *.15));

    return netPay;

}
</code></pre>

<p>But I'm getting the error "computePaycheck(double,int) in PayCheck cannot be applied to (double)"</p>

<p>I sort of understand this, but I can't for the life of me figure out a remedy.</p>
