Student Mark book
$10-30 CAD
Betalt ved levering
You must use arrays, for loops and methods to complete the project. All methods can be written in the same file as the main class.
You are to write a program that will do the following:
- Asks the user how many records they would like to enter.
- Prompt the user for the name of the student.
- Prompt the user for the student's mark in....Math, English, Social Studies and Science.
- Continue till all the records have been inputted.
- Displays a table with the each student and their marks.
- Gives the class average in each subject.
- Gives the minimum and maximum mark in each subject.
- Gives the student’s overall average.
- Gives the Classes’ overall average.
Sample Code below:
read(k,names,mid,fin); //calls the method read
printAverage(mid,fin,tot); //calls the method printAverage
public static void read(Scanner k, String [] names, double [] mid, double [] fin)
//This method runs a loop that allows the users to input a name, a midterm mark and a final mark.
{
for(int i = 0; i < [login to view URL]; i++)
{
[login to view URL]("Record #" + i + " name? ");
names[i] = [login to view URL]();
[login to view URL]("Record #" + i + " midterm? ");
mid[i] = [login to view URL]();
[login to view URL]("Record #" + i + " final? ");
fin[i] = [login to view URL]();
}
public static void printAverage(double [] mid, double [] fin, double [] tot)
//This method runs a loop that computes the averages.
{
double sumMid = 0;
double sumFin = 0;
double sumTot = 0;
for(int i = 0; i < [login to view URL]; i++)
{
sumMid = sumMid + mid[i];
sumFin = sumFin + fin[i];
sumTot = sumTot + tot[i];
}
[login to view URL]("Average\t" + sumMid/[login to view URL]
+ "\t" + sumFin/[login to view URL]
+ "\t" + sumTot/[login to view URL]);
}
Projekt ID: #16731795
Om projektet
Tildelt til:
Hi... i am professionally software engineer(Present) having +3 year experience in this field i read the descriptions and understand i will provide quality work according to your requirement in given time period i Flere
7 freelancere byder i gennemsnit $28 timen for dette job
Hey A Java expert developer is here I have good advanced expertise in Java and Javafx I can write a Java program for you as per your need This is an initial bid Feel free to message me Regards
Hi there, I read and understood your requirement. I am good in java programming and I can complete and deliver the project in a day. Please let me know when we can discuss further on this.