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'
java programming - write a java program using arrays function for hotel bill ...
JAVA PROGRAMMING - "POWERS" Compute the power of a number given the base and ...
JAVA - simple java program to retrive data from oracle database between specific...
java - Write a java application that finds the smallest of several integers. ...
Java - I am trying to write an algorithm for my JAVA class and am having some ...
Java - Can anybody help me figure how to post a Java file to as an attachment. I...
Java - in Java how do you create a method that will prompt the user to type in ...
Java Programming - I'm new to Java and I'm not sure how to write the source code...
Java - Is there a method in Java in which to see if an integer value contains ...
Java - What kind of Math do I need to be proficient in in order to be prepared ...