it says can not find symbol....

import java.util.Scanner;

public class wage2 {

private static Scanner Reader= new Scanner (System.in);
//
private static double OverTimeRate=1.5;

public static void main(String[] args) {

//constants
    double person_Name;
    double hourly_wage;
    double regular_hours;
    double overtime_hour;


    double regularpay;
    double overtimepay;
    double totalpay;


    person_Name=InputPersonName();

    hourly_wage=InputhourlyWage();

    regular_hours=InputRegularHours();

    overtime_hour=InputOvertimeHours();


    regularpay=regular_hours * hourly_wage;

    overtimepay=overtime_hour * hourly_wage * OverTimeRate;

    totalpay= regularpay+overtimepay;

    DisplayWeeklyPay(person_Name,hourly_wage,regularpay,overtimepay,totalpay);

    }

    public static void DisplayWeeklyPay(string person_Name,double hourlyWage, double regularPay,double overTimePay,double totalPay)
    {
        System.out.println("==================[ "+person_Name+" ]==================");
        System.out.println("The hourly wage is $"+hourlyWage);
        System.out.println("The regular pay is $"+regularPay);
        System.out.println("The overtime pay is $"+overTimePay);
        System.out.println("The total wage is $"+totalPay);
    }

    public static string InputPersonName()
    {
      System.out.print ("Enter Id Number:");
      return Reader.next();
    }
    public static double InputhourlyWage()
    {
        System.out.print("Enter the number of hourly Wage:");
        return Reader.nextDouble();
    }
    public static double InputRegularHours()
    {
        System.out.print("Enter the number of regular hours:");
        return Reader.nextDouble();
    }
    public static double InputOvertimeHours()
    {
        System.out.print ("Enter the number of overtime hours:");
        return Reader.nextDouble();
    }
}

What symbol?

Post the entire stacktrace not just an incomplete summary of it.

Member Avatar for hfx642

That's okay... I can't find the symbol either!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.