btnCalculate.addActionListener(new ActionListener)() {

public void actionPerformed(ActionEvent e) {
double recitation = Double.parse
Double(txtRecitation.getText());
double review = Double.parseDouble(txtReview.getText());
double homework = Double.parseDouble(txtHomework.getText());
double participation = Double.parseDouble(txtParticipation.getText());
double quizzes = Double.parseDouble(txtQuizzes.getText());
double prelim = Double.parseDouble(txtPrelim.getText());
double midterm = Double.parseDouble(txtMidterm.getText());
double finals = Double.parseDouble(txtFinals.getText());

double classStanding = (recitation*0.1)+(review*0.3)+(homework*0.1)+(participation*0.1)+(quizzes*0.4);
double termGrade = classStanding*2 + (prelim+midterm+finals)/3;
double generalAverage = (prelim*0.3)+(midterm*0.3)+(finals*0.4);
txtResult.setText("Class Standing: " + classStanding + "\nTerm Grade: " + termGrade + "\nGeneral Average: "+ generalAverage);

if(generalAverage >=75) {
txtRemarks.setText("Passed");
}else {
txtRemarks.setText("Failed");
}

}
}
Need Assistance I have Multiple Markers on the First Line and Third Line

Similar Questions
  1. Hi!____ 6. Which of the following shows a valid header for a method that accepts any number of double values and returns an
    1. answers icon 0 answers
  2. Identify the problem in the sentence:James didn't have no idea that we were coming today. (1 point) Responses double comparison
    1. answers icon 1 answer
  3. When you double the amount of coffee, you also double the _______________.a thermal energy b neither is doubled c temperature
    1. answers icon 3 answers
  4. When you double the amount of coffee, you also double the _______________.a neither is doubled b thermal energy c temperature
    1. answers icon 3 answers
more similar questions