Devam Ediyor

java top 10 high scores program

Arcade style computer games keep a list of players’ names and the scores that they have achieved in a table of the top 10 scores. I need a program tat will model this feature. Note: a new score has to exceed an existing score to take its place in the list. If a new score is only equal to an existing score, then precedence is given to the existing score (see example below when entry for ‘Jim’ is made).

When in use, the output from the program may look like this:

Welcome to the top ten program

Enter a name (*** to quit) Fred

Enter a score 845

The top ten is

​Name​​score

1) ​Fred​​ 845

Enter a name(*** to quit) Ray

Enter a score 800

The top ten is

​Name​​score

1) ​Fred​​ 845

2) ​Ray ​​800

Enter a name(*** to quit) Sue

Enter a score 1000

The top ten is

​Name​​score

1)​ Sue​​ 1000

2) ​Fred​​ 845

3)​ Ray ​​800

Enter a name(*** to quit) Jim

Enter a score 1000

The top ten is

​Name​​score

1)​ Sue​​ 1000

2)​ Jim​​ 1000

3) ​Fred​​ 845

4)​ Ray​​ 800

Enter a name(*** to quit) ***

Thank you for using this program

Note: Scores can only be whole numbers and the maximum score is 10 million.

Task 1 - Planning

Analyse the problem stated in the assignment brief and write down your algorithm using a flowchart or pseudocode.

Task 2 – Coding

Using your algorithm, code a solution using a Java console application, using Scanner for keyboard input. Provide a listing of the source code. This should be a single Java class. Produce a Data Dictionary, clearly stating the scope of the variables used.

All code used must reflect programming standards (Comments, Indentation of code etc.).

Additional Notes:

The program is just one class, with a main method. There is no use of an array sort utility or anything. The only utility to be imported into the code is the [url removed, login to view] to allow for keyboard input. The arrays for the scores are all sorted into descending order by the use of loops only.

The program has to be written just using if-else, do-while and for loops. I have part of the code written already should the developer wish to see it. The code I have basically just needs modification to sort the score array into descending order.

Beceriler: Java

Daha fazlasını görün: java score code, score java program, java score, java scores program, top java code, programming java assignment brief, top scores program java, assignment, top scores java, top ten players scores java, use of algorithm in programming, top sort, top programming, top problem, top down programming, top coding, task assignment problem, task assignment algorithm, sort array list in java, sort algorithm, solution to assignment problem, solution of assignment problem, scanner programming, programming loops, programming games in java

İşveren Hakkında:
( 1 değerlendirme ) Bradford, United Kingdom

Proje NO: #4423596

Seçilen:

wdscott01

With over 25 years of software development experience, the last 15 specializing in Java, I sense this project is a slam dunk waiting to happen. See private message.

3 gün içinde 20£ GBP
(0 Değerlendirme)
0.0

40 freelancer bu iş için ortalamada 27£ teklif veriyor

eperfections

JAVA EXPERT ! Ready to start

1 gün içinde 30£ GBP
(275 Değerlendirme)
7.0
dobreiiita

Hi, This is a simple Java project, I can complete it in minimum i.e. £20 . Thanks

1 gün içinde 20£ GBP
(170 Değerlendirme)
6.4
Calleus

Hi, I have experience in JAVA and Algorithms. Let me help you. I am ready to start.

in 2 gün içinde49£ GBP
(13 Değerlendirme)
3.9
rakib062

Please check private message.

1 gün içinde 30£ GBP
(10 Değerlendirme)
3.8
vahid4m

i can help you.

1 gün içinde 20£ GBP
(10 Değerlendirme)
3.8
MKScott

I´m ready to start right now

in 5 gün içinde23£ GBP
(6 Değerlendirme)
3.6
kmd262

More than 6.5 years of experience in Java. I can have a look at your code and modify it for you. Happy to help.

in 3 gün içinde20£ GBP
(2 Değerlendirme)
2.6
kandamunlabs

I will implement it in one hour.

1 gün içinde 21£ GBP
(1 Değerlendirme)
1.9
DucNA

I've read your requirement. It's easy with me. Plz check your PMB and i can start + deliver right now !

in 0 gün içinde20£ GBP
(2 Değerlendirme)
1.6
jasqwerty

Hello, I'm a native English speaker with extensive technical experience. I have a degree in Comp Sci and have taught at the university level. I can get this done in an hour or so max.

1 gün içinde 25£ GBP
(1 Değerlendirme)
1.4
LahiruMal

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Let's begin just now........... $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Daha fazlası

1 gün içinde 20£ GBP
(2 Değerlendirme)
1.2
umarfl4u

Hi, I'm experienced Sun Certified Java Professional with a score of 100%. I'm interested in this project. See PM for more details.

1 gün içinde 20£ GBP
(2 Değerlendirme)
1.0
istankov85

I can do this very fast and cheap

in 0 gün içinde20£ GBP
(1 Değerlendirme)
1.0
fattahaabdul

I am expert in Java having 5 years of experience. I am bidding you the lowest as i want good reviews. So please see to it. I can send you the sample of code which i make. You can see my programming skills and test me o Daha fazlası

in 5 gün içinde20£ GBP
(0 Değerlendirme)
0.0
myth007

Good problem to work on in java. Agree with all your mentioned requirement.

in 2 gün içinde20£ GBP
(0 Değerlendirme)
0.0
osnofasl

Good evening. I am computer engineer and I am used to work with Java, so I am able and read to do this work. Thanks in advance. Best regards,

in 7 gün içinde23£ GBP
(0 Değerlendirme)
0.0
mranjith12

Hi, I will deliver this tomorrow. I am not expecting much of payment however you can just pay me 3$. Please send me your file. Regards, Ranjith

in 3 gün içinde20£ GBP
(0 Değerlendirme)
0.0
Jauhenka

Not hard, can do it by sunday.

in 3 gün içinde30£ GBP
(0 Değerlendirme)
0.0
sar09v

Hi, I have 3 years of experience in java. Excellent java programming [url removed, login to view] understanding of java concepts. I can complete this within mentioned timelines. Kindly provide me opportunity. Regards, Sarvesh Daha fazlası

1 gün içinde 30£ GBP
(0 Değerlendirme)
0.0
alejocar

That's an easy task. I have done programs like this before, let me help you.

1 gün içinde 28£ GBP
(0 Değerlendirme)
0.0