3 question Java problem

Suoritettu Julkaistu Jun 9, 2004 Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

This is a two part question that for a project I am working on. I have a start but need some help.

## Deliverables

**Question #1:**

Design and implement a class **Grade** that defines attributes (instance fields) for student name, midterm grade, and final grade. It also defines one method to retrieve the name, midterm, and final grade, and another method to calculate the letter grade using the following scale:

A, if average of midterm and final grades>=90 B, if average of midterm and final grades>=80 but less than 90 C, if average of midterm and final grades>=70 but less than 80 D, if average of midterm and final grades>=60 but less than 70 F, if average of midterm and final grades is less than 60.

**Question #2**

Design and implement a class **Sorter** that define an array as an instance field to hold **grade objects** and defnes the following methods:

* a method to find the maximum midterm grade

* a method to find the minimum final grade

* a method to print out number of A, B, C, D, and F grades in a tabular format (see example below) from a collection of Grade objects

| **Grade** | **Number** |

| A | # of A grades |

| B | # of B grades |

| C | # of C grades |

| D | # of D grades |

| F | # of F grades |

Write a test class **SorterTest** by using the following data:

| Name | Midterm | Final |

| -------- | ------- | ----- |

| Kim | 70 | 90 |

| Brian | 89 | 75 |

| John | 58 | 70 |

| Adam | 69 | 64 |

| Joshua | 58 | 55 |

| Mary | 34 | 80 |

| Jordan | 84 | 91 |

| Leann | 93 | 98 |

| Jennifer | 79 | 83 |

| Kevin | 90 | 78 |

| Milan | 90 | 93 |

## Platform

This will be used in a windows environmrnt using JGrasp

tekniikka Java MySQL PHP Tietojärjestelmäarkkitehtuuri Ohjelmistojen testaus

Projektin tunnus: #3241523

Tietoa projektista

15 ehdotusta Etäprojekti Aktiivinen Jun 10, 2004

Myönnetty käyttäjälle:

bbarar

See private message.

$13 USD 14 päivässä
(321 Arvostelua)
6.0

15 freelanceria on tarjonnut keskimäärin $23 tähän työhön

wmfwlr

See private message.

$42.5 USD 14 päivässä
(19 arvostelua)
5.8
kalietvw

See private message.

$17 USD 14 päivässä
(10 arvostelua)
3.6
katcheiip

See private message.

$25.5 USD 14 päivässä
(9 arvostelua)
3.2
acharya148

See private message.

$12.75 USD 14 päivässä
(30 arvostelua)
3.2
rsudomo

See private message.

$12.75 USD 14 päivässä
(14 arvostelua)
3.0
marshainfot

See private message.

$51 USD 14 päivässä
(11 arvostelua)
2.9
ganeshsoftw

See private message.

$16.15 USD 14 päivässä
(7 arvostelua)
2.7
mhasanca

See private message.

$8.5 USD 14 päivässä
(8 arvostelua)
2.4
clauspeterb

See private message.

$8.5 USD 14 päivässä
(9 arvostelua)
2.1
gentavw

See private message.

$25.5 USD 14 päivässä
(2 arvostelua)
1.6
hammadscjp

See private message.

$42.5 USD 14 päivässä
(1 arvostelu)
1.1
smitsvw

See private message.

$19.55 USD 14 päivässä
(4 arvostelua)
1.1
bcronin

See private message.

$25.5 USD 14 päivässä
(0 arvostelua)
0.5
joe545

See private message.

$21.25 USD 14 päivässä
(0 arvostelua)
0.0