import java.util.*;
import java.io.*;
import java.util.Scanner;
class payroll
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
String empcode, answer;
double timeIn, timeOut;
do
{
System.out.println();
System.out.println("Enter Employee Code: ");
empcode = scan.next();
if(empcode.equalsIgnoreCase("A01-0001"))
{
System.out.println("********************************");
System.out.println(" ");
System.out.println("Employee Name: Juan Santiago");
System.out.println("Employee Code: " + empcode);
System.out.println("Salary Level: Level 1");
System.out.println("Salary Rate: Php 380.00/day");
System.out.println(" ");
System.out.println("********************************");
String[] week = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
double[] dataTimeIN = new double[5];
double[] dataTimeOUT = new double[5];
int i=0;
double hrsWorked = 0, totalHrsWorked = 0;
for (i=0; i < week.length; i++)
{
System.out.println("Enter time in for " + week[i] + ": ");
timeIn = scan.nextDouble();
System.out.println("Enter time out for " + week[i] + ": ");
timeOut = scan.nextDouble();
}
}
else if(empcode.equalsIgnoreCase("A01-0002"))
{
}
else if(empcode.equalsIgnoreCase("A01-0003"))
{
}
else
System.out.println("Employee cannot be found on the database! ");
System.out.println("Do you want to calculate again? (YES/NO)");
answer = scan.next();
}
while(answer.equalsIgnoreCase("YES"));
}
}