Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

liequirimana: + ocioke ifing ir irate thin intion Homework of Showease Showdown! Due 02/102023 by 11:55 par (i) inima a Due 02/10/2023 by 11:55pm bjective:

image text in transcribed
image text in transcribed
image text in transcribed
liequirimana: + ocioke ifing ir irate thin intion Homework of Showease Showdown! Due 02/102023 by 11:55 par (i) inima a Due 02/10/2023 by 11:55pm bjective: Nrite a program which replicates the final game of a famous price related parme shea. In rhas ersion, a "Showcase" contains exactly 5 unique randamly selected prires. The aser most gacss he sum of the prises within $1,300 below or equal to the sum in order to win. Requircments: - Functionality. (80pes) No Syrtax, Major Ran-Time, or Major Logic Erons, (80yts*) - "Code that cannot be compiled due to syntax errors is nonfuncuional code and will receive no points for this entire section. + "Code that cansot be enecuted or tesled dae so major rit-lime er loges cmons as nonfunctional code and will receive no points for this entire section. - Use only Arrays. (80pts") * "Other built in types like ArrayLists, Linkedl ints, ete will receive mo peiats for than cintire scetion. Clcar and Easy-To-Use Intcrface. (10pes) - Users should casaly understand what the program does and how to we it. - Users should be prompted for imput and showld be able to enter detu cesily. - Uiers should be presented with output after major fanctions, operations, or calculations. - Users should be able so perform any number of the requirod functives. ln addition. users should be able to choose when to iceminate the frogram. - All the above must apply for fall credit. Reating a Prixe File. (20pts) - The program must read from a "Prize File" and using that informatioen in ment populate a data structure of prixes. - Each prize in the file has a name and price separated by and end fine (" n2). + Each prine's name and price are separated by a tab ("u') - The "Prize Fille" format is: cePrize's Name osolice-Prize's Price 6polin cePrize"s Name Issite-Prize's Price Isola - The program should ignore items that do not strictly fotlow the previcesly sasad format. (HINT! There's at least ono itcem in the file that is not formunted cornoctly) - Example Priac Jile - You may cither assume the "Prixe Fule" is ceestant ee yoe may ack the user ho emer a prine filename. - All the above must apply for full credin. - Select Prine 's for the Showcase. (20pts) - The program should randomly pick ecactly 5 uniae prizes from the priare data structure. + No prise should ever repeat in this seloction. - All the aborvo must apply for full credit. Determine if the user won or lost. (20pts) - The user must be presented with the prixes' names before they mate a guess, and int must clearly prompt the user for a guess. - The user should be able lo miler their gucss. - The program then mast determine if the user's goess was less than or equal the sum

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago