Please post also your question, for example, what you have done, where is your difficulty, or what kind of help you need.
static final NUMBEROFSTUDENTS = 5;
public static void main(String args)
int test1, test2, test3, test4, test5; // variables to hold the values for the five test scores
double courseAvg = 0; // the average course score for each student
double classAvg = 0; // the average score for the whole class
String name; // variable to hold student name
char grade; // the grade scale 'A', 'B', 'C', 'D', 'F'
// add code here for the input(Assign7Input.txt) and output files (Assign7Output.txt)
// print the heading to the output text file.
System.out.println ("Student Test1 Test2 Test3 Test4 Test5 Average Grade");
for (int i = 0; i < NUMBEROFSTUDENTS; i++)
// add your code here to read the input and do the calculation
(grade <= 59)grade = F;
if (grade >= 60 && grade <=69)grade = D;
if (grade >=70 && grade <=79)grade = C;
if (grade >= 80 && grade <=89)grade = B;
if (grade >= 90 && grade <=100)grade = A;
// the following are from method call which to be completed later
courseAve = calculateAverage (test1, test2, test3, test4, test5);
grade = calculateGrade(courseAvg);
// add your code to calculate and output the class average
// Method 1: calculate the average grade from the five test scores
...... calculateAverage( ...... )
// Method 2: calculate the grade scale 'A', 'B', 'C', 'D', 'F'
Answer this Question
programming - Professor Merlin has asked you to help him. He has 5 students who ...
Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...
Java Programming - I'm new to Java and I'm not sure how to write the source code...
Java Programming - How to create a two dimensional arrays that stored the score ...
java - Write a java application that finds the smallest of several integers. ...
Information Technology - Develop an algorithm, flow chart and pseudocode that ...
Java - Can anybody help me figure how to post a Java file to as an attachment. I...
programming - Write a program which allows user to enter 10 student names and ...
QZIA - Write an algorithm that reads the names of 10 students, their weights in ...
programming - Can anyone help me with this really confusing programming problem...