// This program calculates hourly wages plus overtime.

public class Wages
{
   public static void main(String[] args)      
   {
      double regularWages;       // The calculated regular wages.
      double basePay = 25;       // The base pay rate. 
      double regularHours = 40;  // The hours worked less overtime.
      double overtimeWages;      // Overtime wages
      double overtimePay = 37.5; // Overtime pay rate
      double overtimeHours = 10; // Overtime hours worked
      double totalWages;         // Total wages
   
      regularWages = basePay * regularHours; 
      overtimeWages = overtimePay * overtimeHours;
      totalWages = regularWages + overtimeWages;
      System.out.println("Wages for this week are $" +
                         totalWages);
   }
}  

/**
 * This program uses calculates pay 
 * 
 * @author Sybil N. Gineer
 * @version 1
 */
public class Wages
{
   public static void main(String[] args)      
   {
      double regularWages;       // The calculated regular wages.
      double basePay = 25;       // The base pay rate. 
      double regularHours = 40;  // The hours worked less overtime.
      double overtimeWages;      // Overtime wages
      double overtimePay = 37.5; // Overtime pay rate
      double overtimeHours = 10; // Overtime hours worked
      double totalWages;         // Total wages
   
      regularWages = basePay * regularHours; 
      overtimeWages = overtimePay * overtimeHours;
      totalWages = regularWages + overtimeWages;
      System.out.println("Wages for this week are $" +
                         totalWages);
   }
}  

fix javadocs