I just don't get this
Java Programming. The teacher I have just lectors and never puts us On the Computers. I have to program a payroll program that figures out over time and hourly rate is over 5.15. Then a second part that tells how many payroll clcs have been figured, total hours and total over time. So parts really through me any hints
Here is what I have so far. I am getting 300 code errors
package payroll;
/**
* Title: Payroll
* Description: Make out payroll check and then figure out stats.
* Copyright: Copyright (c) 2002
* Company:
* @author Joe Wekenman
* @version 1.0
*/
public class App {
public static void main(
String[] Args) {
// Variables
int hours;
int dollars;
int over;
int payroll;
int thours;
// Prompt for read
System.out.println("Enter Hours: ");
System.out.println("Enter Pay: ");
hours = Keyboard.readInt();
dollars= Keyboard.readInt();
if (dollars < 5.15)
System.out.println("Enter Hours: ");
System.out.println("Enter Pay: ");
hours = Keyboard.readInt();
dollars= Keyboard.readInt();
if (dollars < 5.15)
else
// Calculate
if (hours > 40) {
hours - 40 = over;
over * .5 = over;
hours + over = thours;
thours * dollars =payroll;
System.out.printin ("Payroll" (payroll));
}
if-else (hours <= 40)
hours * dollars = payroll;
System.out.printin ("Payroll" (payroll));
}
}
}