private static int count;
private String IdNumber;
private double midquiz1,midquiz2,midquiz3;
private double midlab1,midlab2;
private double midwritten,midhands;
private double finquiz1,finquiz2,finquiz3;
private double finlab1,finlab2;
private double finwritten,finhands;
private double midqtotal,midlabtotal,midwtotal, midhtotal;
private double finqtotal,finlabtotal,finwtotal, finhtotal;
private double midtotal1;
private double midqscore,midlscore;
private double finqscore,finlscore;
private double fintotal1;
private double finalgrade,lol;
public Student(String first,String last,String mid,double midq1,double midq2,double midq3,double midl1,double midl2,double midw,double midh,
double finq1,double finq2,double finq3,double finl1,double finl2,double finw,double finh){
super(first,last,mid);
midquiz1 = midq1;
midquiz2 = midq2;
midquiz3 = midq3;
midlab1 = midl1;
midlab2 = midl2;
midwritten = midw;
midhands = midh;
finquiz1 = finq1;
finquiz2 = finq2;
finquiz3 = finq3;
finlab1 = finl1;
finlab2 = finl2;
finwritten = finw;
finhands = finh;
addCount();
}
public Student(String first,String last,String mid,double mqtotal,double mlabtotal,double mwtotal,double mhtotal,
double fqtotal,double flabtotal,double fwtotal,double fhtotal, double ftotal,double finalgrade1,double mtotal){
super(first,last,mid);
midqtotal = mqtotal;
midlabtotal = mlabtotal;
midwtotal = mwtotal;
midhtotal = mhtotal;
midtotal1 = mtotal;
finqtotal = fqtotal;
finlabtotal = flabtotal;
finwtotal = fhtotal;
finhtotal = fwtotal;
fintotal1 = ftotal;
finalgrade = finalgrade1;
addCount();
}
public double getfinq1(){
return finquiz1;
}
public double getfinq2(){
return finquiz2;
}
public double getfinq3(){
return finquiz3;
}
public double getfinl1(){
return finlab1;
}
public double getfinl2(){
return finlab2;
}
public double getfinw(){
return finwritten;
}
public double getfinh(){
return finhands;
}
public double getmidq1(){
return midquiz1;
}
public double getmidq2(){
return midquiz2;
}
public double getmidq3(){
return midquiz3;
}
public double getmidl1(){
return midlab1;
}
public double getmidl2(){
return midlab2;
}
public double getmidw(){
return midwritten;
}
public double getmidh(){
return midhands;
}
//midterm
public void setmidqtotal(){
midqscore = midquiz1 + midquiz2 + midquiz3;
midqtotal = (midqscore/30*100)*0.20;
}
public double getmidqtotal(){
return midqtotal;
}
public void setmidlabtotal(){
midlscore = midlab1 + midlab2;
midlabtotal = (midlscore/40*100)*0.20;
}
public double getmidlabtotal(){
return midlabtotal;
}
public void setmidwtotal(){
midwtotal = midwritten * 0.30;
}
public double getmidwtotal(){
return midwtotal;
}
public void setmidhtotal(){
midhtotal = midhands * 0.30;
}
public double getmidhtotal(){
return midhtotal;
}
public void MidtermTotal(){
midtotal1 = midqtotal + midlabtotal + midhtotal + midwtotal;
}
public double getmidtotal(){
return midtotal1;
}
//finals
public void setfinqtotal(){
finqscore = finquiz1 + finquiz2 + finquiz3;
finqtotal = (finqscore/30*100)*0.20;
}
public double getfinqtotal(){
return finqtotal;
}
public void setfinlabtotal(){
finlscore = finlab1 + finlab2;
finlabtotal = (finlscore/40*100)*0.20;
}
public double getfinlabtotal(){
return finlabtotal;
}
public void setfinwtotal(){
finwtotal = finwritten * 0.30;
}
public double getfinwtotal(){
return finwtotal;
}
public void setfinhtotal(){
finhtotal = finhands * 0.30;
}
public double getfinhtotal(){
return finhtotal;
}
public void FinalTotal(){
fintotal1 = finqtotal + finlabtotal + finhtotal + finwtotal;
}
public double getfintotal(){
return fintotal1;
}
public void FinalGrade(){
finalgrade = (midtotal1 + fintotal1)/2;
}
public double getfinalgrade(){
return finalgrade;
}