Student Mark book

Færdiggjort Opslået 5 år siden Betalt ved levering
Færdiggjort 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]);

}

Java

Projekt ID: #16731795

Om projektet

7 bud Remote projekt Aktiv 5 år siden

Tildelt til:

abubakar4248

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

$15 CAD på 1 dag
(16 bedømmelser)
4.0

7 freelancere byder i gennemsnit $28 timen for dette job

usman1493

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

$25 CAD in 0 dage
(203 bedømmelser)
6.7
atulamol

Hello Sir, i can do this for your now also for more discussion chat with. i have More than Five years (5+ years) of experience in Professional Software Development. Seeking for a challenging position as a Java Dev Flere

$30 CAD på 1 dag
(40 bedømmelser)
5.1
meetravig

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.

$30 CAD på 1 dag
(26 bedømmelser)
4.7