public class OverallGrade { public static void main(String[] args) { // hw1 = 20, hw2 = 32, hw3 = 40 int homeworkTotal = 20 + 32 + 40; int homeworkScore = 17 + 30 + 40; double homework = homeworkScore / homeworkTotal * 100; // what's wrong with this line? int midterm = 81; int fin = 74; double overall = 0.45 * homework + 0.2 * midterm + 0.35 * fin; System.out.println("overall = " + overall); } }