System.out.println("How many weeks per paycheck?");
Scanner week = new Scanner (System.in);
int weekv = week.nextInt();
int count = 0;
while (count != weekv)
{
// check System.out.println ("count: " + count + "weekv: " + weekv);
System.out.println ("How many hours did you work Sunday of week " + count + " ?");
Scanner scan = new Scanner (System.in);
sunday = scan.nextDouble();
System.out.println ("How many hours did you work Monday of week " + count + " ?");
Scanner scan1 = new Scanner (System.in);
monday = scan1.nextDouble();
System.out.println ("How many hours did you work Tuesday of week " + count + " ?");
Scanner scan2 = new Scanner (System.in);
tuesday = scan2.nextDouble();
System.out.println ("How many hours did you work Wednesday of week " + count + " ?");
Scanner scan3 = new Scanner (System.in);
wednesday = scan3.nextDouble();
System.out.println ("How many hours did you work Thursday of week " + count + " ?");
Scanner scan4 = new Scanner (System.in);
thursday = scan4.nextDouble();
System.out.println ("How many hours did you work Friday of week " + count + " ?");
Scanner scan5 = new Scanner (System.in);
friday = scan5.nextDouble();
System.out.println ("How many hours did you work Saturday of week " + count + " ?");
Scanner scan6 = new Scanner (System.in);
saturday = scan6.nextDouble();
count ++;