Please post screenshots only
File Tools View CMSC 140 Common Projects Spring 2019(1) E – 3 x Project Description The Powerball game consists of 5 white balls and a red Powerball. The white balls represent a number in the range of 1 to 69. The red Powerball represents a number in the range of 1 to 26. To play the game, you need to pick a number for each ball in the range mentioned earlier. The prize of winning the game is based on the rules shown in the following picture. For example if two numbers of the white balls and the number of the red ball match with the lottery terminal winning numbers, then the wining prize is $7. If all the numbers match you will win the Grand Prize. MATCH + Gand $50.000 Write a C++ program that simulates playing the Pow- erball game. The program will generate random num- bers to simulate the lottery terminal generated num- bers for white balls and red Powerball. The user will have the option to self-pick the numbers for the balls or let the computer randomly generate them. Screens 1-2 of 13 BEEE + 140% Type here to search te . a L 7 1:58 AM dal 1/27/2019 +22 File Tools View CMSC 140 Common Projects Spring 2019(1) E – 5 x One number between 1 and 26 for the red ball (if game mode is self-pick), perform input vali- dation The program then displays the user numbers and computer generated numbers in a sorted order as well as the amount of the prize. See the sample outputs for more clarification. Output for this project: Set the Grand Prize to $1,000,000,000.00 in the pro- gram. Game title Game rule Game result including o Prize Sorted user’s numbers o Sorted winning numbers Programmer’s full name Project number Project due date Project Specifications Input for this project: Processing Requirements . Game mode choice – self pick or auto pick Five numbers between 1 and 69 for the white balls (if game mode is self-pick), perform input validation Create and use following functions: Screens 3.4 of 13 + 140% BEEE-1 1:59 AM dal 1/27/2019 Type here to search e . 9d a 7 +22 File Tools View CMSC 140 Common Project Spring 2019(1) E – 3 x Then calling the function compare Ar- rays(arral, array2,4) should return 3. 1. A function called getArandNum that takes two int arguments that represent a min and max range. This function randomly generates an inte- ger number in the range of min and max and re- turns it. 4. A function called displayArray that takes two arguments, an int array and an int for the size of the array and displays the content of the array. This function does not return anything. 2. A function called sortArray that takes an array of type int as its parameter and sorts it using the selection sort. This function does not return anything. [NOTE: You can create and use more functions as needed.] anter Cuessin 3. A function called compareArrays that takes two int array arguments and an integer for the size of the arrays and returns the number of matching elements of the arrays. Sample Screen Output #1: to storitetet 3. Prize determined by how many of your users with the winn e rs N ): Y Do you want to self pick your white ball rubers T Enter ter i 118 here in 181:35 Enter uber 5 Ch 1 and 8:01 Satt unberr For example if array1 and array2 contain the fol- lowing values: T .80 points for the game Here are the wingers array1: 12 array2: 60 3 12 604 4 5 – NOTE: The Last number is the Power Ball unter! Thank you for using program cesti Cannes Projects Due Date: 12/1/2018 Screens 5-6 of 13 + 140% BEEE- 1:59 AM dal 1/27/2019 Type here to search e . 9d a 7 +22
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.