Java Grade Program

完了済み 投稿 Oct 29, 2012 着払い
完了済み 着払い

Provide a complete program that handles the entry and display of homework scores. As part of your program, provide a RWHwScore class that contains the points earned on a particular homework and also the maximum possible points on that homework. In order to keep track of the overall average, the RWHwScore class also contains the total points earned on all homework combined and the total possible points on all homework combined. In order to determine letter grades, the RWHwScore class specifies cutoff values for the A, B, C, and D letter grades.

More specifically, the RWHwScore class should contain these constants and variables:

Array constant for the letter grade cutoffs: A = 0.9, B = 0.8, C = 0.7, D = 0.6

One dimensional array, only needs to hold the values, not the letters.

Class variables named totalEarnedPoints and totalPossiblePoints

Instance variables named earnedPoints and possiblePoints

[url removed, login to view]

Provide a main driver method. It should:

Instantiate a 4 element array of RWHwScore and store the values below in this array. In the instantiations, initialize the objects to these values:

hw1: 26.5 earned points, 30 possible points

hw2: 29 earned points, 27.5 possible points

hw3: 0 earned points, 20 possible points

hw4: 16 earned points, 20 possible points

For hw1, hw2, hw3 and hw4 call printGrade. (instance method)

Call printOverallGrade. (class method)

Within your RWHwScore class, include these requirements:

The RWHwScore class should contain a two-parameter constructor that handles initializations for the earnedPoints and possiblePoints instance variables.

Implement a printGrade method that prints a particular homework’s earned points, possible points, and letter grade. The letter grade is based on this scale: A ³ 90%, B ³ 80%, C ³ 70%, D ³ 60%, F < 60%.

Implement a class method named printOverallGrade that prints the overall earned points, overall possible points, and overall letter grade.

Use appropriate modifiers for methods. The modifiers we’ve discussed so far are private, public, and static. Use helping methods when appropriate.

SAMPLE:

On this homework, you earned 26.5 out of 30.0 possible points: B

On this homework, you earned 29.0 out of 27.5 possible points: A

On this homework, you earned 0.0 out of 20.0 possible points: F

On this homework, you earned 16.0 out of 20.0 possible points: B

On all homework, you earned 71.5 out of 97.5 possible points: C

FOLLOW SAMPLE PRECISELY FOR OUTPUT.

Java PHP ソフトウェアアーキテクチャ

プロジェクトID: #2605667

プロジェクトについて

26個の提案 リモートプロジェクト アクティブ Oct 30, 2012

アワード:

it2051229

Hi, I'd like to do this project please.

$30 USD 0日以内
(188レビュー)
6.2

26人のフリーランサーが、平均$46 で、この仕事に入札しています。

eperfections

JAVA EXPERT! Can do this in 30 minutes

$30 USD 0日以内
(351件のレビュー)
7.3
dobreiiita

Hi, I am JAVA Expert and can surely help you here, Please check your inbox, Thanks

$30 USD 1日以内
(174件のレビュー)
6.4
samitXI

Please check your inbox. Thanks

$30 USD 1日以内
(90件のレビュー)
6.3
buzzcoder

Simple project, I can do it for you for sure, please check your pm.

$35 USD 1日以内
(40件のレビュー)
5.4
csanuragjain

hi i can do this contact if interested

$30 USD 1日以内
(22件のレビュー)
5.1
msabouri

I can easily do this

$30 USD 1日以内
(51件のレビュー)
5.0
pivn

let expert do it

$30 USD 1日以内
(47件のレビュー)
4.8
ranjitsinha

Ready to do this program. Thanks.

$30 USD 0日以内
(92件のレビュー)
4.8
swteam4

Hello Java experts here, we can complete this task in an hour. Kindly check PMB.

$30 USD 0日以内
(18件のレビュー)
4.4
kdeveloper5

Hi, I am oracle certified java 6 professional with 100% score , i have over 8 years of experience in developing applications using java, I can do this task in 2-6 hours. looking forward to hear from you regards,

$40 USD 1日以内
(4件のレビュー)
4.2
duchuyctlk

Let expert do it

$30 USD 0日以内
(24件のレビュー)
3.9
tientaiTA

Let expert do it! Please check PMB!

$30 USD 1日以内
(15件のレビュー)
3.8
proauthor

Hi, Ready to start your work. Eagerly awaiting for your positive reply. Please check your inbox for further details. Thanks, Shaik.

$99 USD 1日以内
(5件のレビュー)
3.4
joshjava

Sounds like fun.

$40 USD 0日以内
(5件のレビュー)
3.1
JavaGuruLV

Hi, I am Java developer and teacher. Want help you with this assignment. Best regards, Viktor.

$30 USD 1日以内
(4件のレビュー)
2.8
marcelof01

Hello, I'm a developer. I can build a system that meets your needs. I'm not a sub-contractor, so you will get accurate deadline dates and low fees from me. I work with responsibility and my work is guaranteed, provid もっと

$30 USD 0日以内
(5件のレビュー)
2.2
fihgu

I'm ready to start. please check your PM.

$30 USD 0日以内
(レビュー1件)
1.7
forestcitysoft

I would be interested in completing this project. Thanks

$30 USD 2日以内
(2件のレビュー)
1.6
MarkDLeBlanc

I've already completed this for you, just awaiting acceptance, and payment. :)

$30 USD 0日以内
(0件のレビュー)
0.0
quyentran

I'm willing to help you now. :D

$30 USD 1日以内
(0件のレビュー)
0.0