it says can not find symbol....

import java.util.Scanner;

public class wage2 {

private static Scanner Reader= new Scanner (;
private static double OverTimeRate=1.5;

public static void main(String[] args) {

    double person_Name;
    double hourly_wage;
    double regular_hours;
    double overtime_hour;

    double regularpay;
    double overtimepay;
    double totalpay;





    regularpay=regular_hours * hourly_wage;

    overtimepay=overtime_hour * hourly_wage * OverTimeRate;

    totalpay= regularpay+overtimepay;



    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:");
    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();

Edited 5 Years Ago by __avd: Added [code] tags.

This article has been dead for over six months. Start a new discussion instead.