In Progress

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.

Skills: Java

See more: 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

About the Employer:
( 1 review ) Bradford, United Kingdom

Project ID: #4423596

Awarded to:

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.

£20 GBP in 3 days
(0 Reviews)
0.0

40 freelancers are bidding on average £27 for this job

eperfections

JAVA EXPERT ! Ready to start

£30 GBP in 1 day
(275 Reviews)
7.0
dobreiiita

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

£20 GBP in 1 day
(170 Reviews)
6.4
Calleus

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

£49 GBP in 2 days
(13 Reviews)
3.9
rakib062

Please check private message.

£30 GBP in 1 day
(10 Reviews)
3.8
vahid4m

i can help you.

£20 GBP in 1 day
(10 Reviews)
3.8
MKScott

I´m ready to start right now

£23 GBP in 5 days
(6 Reviews)
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.

£20 GBP in 3 days
(2 Reviews)
2.6
kandamunlabs

I will implement it in one hour.

£21 GBP in 1 day
(1 Review)
1.9
DucNA

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

£20 GBP in 0 days
(2 Reviews)
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.

£25 GBP in 1 day
(1 Review)
1.4
LahiruMal

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Let's begin just now........... $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ More

£20 GBP in 1 day
(2 Reviews)
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.

£20 GBP in 1 day
(2 Reviews)
1.0
istankov85

I can do this very fast and cheap

£20 GBP in 0 days
(1 Review)
1.0
alejocar

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

£28 GBP in 1 day
(0 Reviews)
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

£20 GBP in 3 days
(0 Reviews)
0.0
ernestoquesada

Seems pretty straight forward, i can get it done in a couple of hours fully tested.

£23 GBP in 1 day
(0 Reviews)
0.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 More

£20 GBP in 5 days
(0 Reviews)
0.0
myth007

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

£20 GBP in 2 days
(0 Reviews)
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,

£23 GBP in 7 days
(0 Reviews)
0.0
sar09v

Hi, I have 3 years of experience in java. Excellent java programming skills.Strong understanding of java concepts. I can complete this within mentioned timelines. Kindly provide me opportunity. Regards, Sarvesh More

£30 GBP in 1 day
(0 Reviews)
0.0