Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help making a java program for a grade checker: Output: This program acce

ID: 3683909 • Letter: I

Question

 I need help making a java program for a grade checker:  Output: This program accepts your homework and exam scores as input,  and computes your grade in the course or  indicates what grade you need to earn on the final exam.   Homework:  What is its weight (0-100)? 40  How many homework assignments were there? 4  Homework 1 score and max score: 21 30  Homework 2 score and max score: 11 20  Homework 3 score and max score: 28 50  Homework 4 score and max score: 5 10  Weighted homework score: 23.64   Midterm exam:  What is its weight (0-100)? 30  Exam score: 95 Was there a curve? (1 for yes, 2 for no) 1  How much was the curve? 10 Weighted exam score: 30.0   Final exam:  Have you taken the final exam yet? (1 for yes, 2 for no) 1  What is its weight (0-100)? 30  Exam score: 63 Was there a curve? (1 for yes, 2 for no) 1  How much was the curve? 5  Weighted exam score: 20.4  Your course grade is 74.04   or   Homework:  What is its weight (0-100)? 50  How many homework assignments were there? 2  Homework 1 score and max score: 10 50  Homework 2 score and max score: 12 25  Weighted homework score: 14.67   Midterm exam:  What is its weight (0-100)? 25  Exam score: 56 Was there a curve? (1 for yes, 2 for no) 2  Weighted exam score: 14.0   Final exam:  Have you taken the final exam yet? (1 for yes, 2 for no) 2  What is its weight (0-100)? 25  What percentage would you like to earn in the course? 90  You need a score of 245.33 on the final exam.  Sorry, it is impossible to achieve this percentage.  The highest percentage you can get is 53.67.   Skeleton: // This program prompts the user to enter various student scores // and outputs the student's grade in the course.  import java.util.*;  // for Scanner  public class GradesShell {     public static final int MAX_EXAM_SCORE = 100;          public static void main(String[] args) {         printWelcomeMessage();                  Scanner console = new Scanner(System.in);                  System.out.println("Homework:");         double hw = getWeightedHomeworkScore(console);          System.out.println("Midterm exam:");         double midterm = getWeightedExamScore(console);                  System.out.println("Final exam:");         doFinalExam(console, hw, midterm);     }          // A welcome message to start the program.     public static void printWelcomeMessage()      {     }              // Asks about student's homeworks and returns weighted HW score.     public static double getWeightedHomeworkScore(Scanner console)     {       return 0;     }      // Asks for the weight of something and returns the answer.     public static int getWeight(Scanner console) {        return 0;     }          // Asks about student's exam and returns weighted score.     // This method is called by both the midterm and final exams.     public static double getWeightedExamScore(Scanner console) {                   return 0;     }          // Asks the questions about the final exam and prints the overall grade.     public static void doFinalExam(Scanner console, double hw, double exam) {                    }          // Returns the given double value rounded to the nearest hundredth.     public static double round2(double number) {         return 0;     } } 

Explanation / Answer

/* Java Program Example - Calculate Grade of Student */ import java.util.Scanner; public class JavaProgram { public static void main(String args[]) { int mark[] = new int[5]; int i; float sum=0, avg; Scanner scan = new Scanner(System.in); System.out.print("Enter Marks Obtained in 5 Subjects : "); for(i=0; i80) { System.out.print("A"); } else if(avg>60 && avg40 && avg
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote