Do not use/import any other library/package other than java.util.Scanner Neither implement nor use any custom/user-defined method(s)/function(s)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Do not use/import any other library/package other than java.util.Scanner Neither implement nor use any custom/user-defined method(s)/function(s) for any task herein. Question 1 requires the use of loops, whereas question 2 involves arrays. Question #1: Simple Brilliant Mind Game Jackpot Program (7pts) Nested Loops Office of Community Engagement, this time will lunch a game called "Brilliant Mind" in which any age appropriate student can participate as a contestant for the game. The "Brilliant Mind" game is a one player game that tests general knowledge with questions (the questions number and duration is not subject of this program) from ten consecutive categories topics (see Table- 1) in which each category has a fixed score value associated with it, (e.g. Sports: 19, Music: 18, etc.). Each completed category's questions will generate all the numbers of the category's score value that are NOT multiple of the category number. For example, the numbers that are generated after completing the category Literature, which has a score value of 18, (i.e. its numbers are from 1 to 18) that are not multiple to 2, since Literature is number 2 in the game category list, are: 1, 3, 5, 7, 9, 11, 13, 15, 17. The contestant is awarded Cryptom money, calculated based on the sum of the numbers displayed from each category. This sum will be cumulative from one category to the next. You have been selected to be part of this project in the capacity of a research Intern. In this regard, your primary task involves applying the use of nested loop to develop an algorithm and Java class/program to accomplish the following: # 1 Category Science Score Value 19 2 Literature 18 3 Sports 19 4 Animals 20 5 Television 19 6 Music 18 7 Business 19 8 Geography 19 9 Cities 18 10 Opera 19 Table1: Game categories' number and score 1. Write an algorithm for the Simple Brilliant Mind Game Jackpot Program, in a text file named AlgA3_Q1.txt. 2. Name of the class/program: A3_Q1. 3. Display a welcome/salutation message to the user of the program. 4. Display a prompt message for the user to enter a valid age, that should be higher than 15 and less than 125 years. 5. Process for each category the numbers in its score value that are NOT multiple of that category number. 6. Process the cumulative Cryptom money at the end of each category as a sum of the numbers computed in (5) above. 7. Display for each category the numbers that are not the multiple of the current category number, in the form of ten numbers per line, followed by the cumulated reward Cryptom money. 8. Finally, display a complimentary-close message as follows: Thank you for using my bespoke the Simple brilliant Mind Game Jackpot Program! The following are samples of screenshots to illustrate the expected behavior of your program. Your program must display the same information with the same format and should work for any valid user entered data. Welcome to the Simple Brilliant Mind Game Jackpot! How old are you? 14 11144 Error: Your input/entry is not a valid integer between 15 to 125. Kindly retry again! How old are you? 18 Your Jackpot for the Simple Brilliant Mind Game is: In the score of Science, the numbers that are not multiple of category 1 are: No numbers are found in this category!==> The Cryptom value 0. In the score of Literature, the numbers that are not multiple of category 2 are: 1, 3, 5, 7, 9, 11, 13, 15, 17, >The Cryptom value 81. In the score of Sports, the numbers that are not multiple of category 3 are: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, >The Cryptom value 208. In the score of Animals, the numbers that are not multiple of category 4 are: 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, >The Cryptom value 358. In the score of Television, the numbers that are not multiple of category 5 are: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, > The Cryptom value 518. In the score of Music, the numbers that are not multiple of category 6 are: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, The Cryptom value 653. In the score of Business, the numbers that are not multiple of category 7 are: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, The Cryptom value 822. In the score of Geography, the numbers that are not multiple of category 8 are: 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, >The Cryptom value 988. In the score of Cities, the numbers that are not multiple of category 9 are: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, >The Cryptom value 1132. In the score of Opera, the numbers that are not multiple of category 10 are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, >The Cryptom value 1312. Thank you for using my bespoke the Simple Brilliant Mind Game Jackpot Program! Welcome to the Simple Brilliant Mind Game Jackpot! How old are you? 75 Your Jackpot for the Simple Brilliant Mind Game is: In the score of Science, the numbers that are not multiple of category 1 are: No numbers are found in this category!==> The Cryptom value 0. In the score of Literature, the numbers that are not multiple of category 2 are: 1, 3, 5, 7, 9, 11, 13, 15, 17, ==> The Cryptom value 81. In the score of Sports, the numbers that are not multiple of category 3 are: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, >The Cryptom value 208. In the score of Animals, the numbers that are not multiple of category 4 are: 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, --> The Cryptom value 358. In the score of Television, the numbers that are not multiple of category 5 are: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, >The Cryptom value 518. In the score of Music, the numbers that are not multiple of category 6 are: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, > The Cryptom value 653. In the score of Business, the numbers that are not multiple of category 7 are: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, The Cryptom value 822. In the score of Geography, the numbers that are not multiple of category 8 are: 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, >The Cryptom value 988. In the score of Cities, the numbers that are not multiple of category 9 are: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, >The Cryptom value 1132. In the score of Opera, the numbers that are not multiple of category 10 are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, >The Cryptom value 1312. Thank you for using my bespoke the Simple Brilliant Mind Game Jackpot Program! Do not use/import any other library/package other than java.util.Scanner Neither implement nor use any custom/user-defined method(s)/function(s) for any task herein. Question 1 requires the use of loops, whereas question 2 involves arrays. Question #1: Simple Brilliant Mind Game Jackpot Program (7pts) Nested Loops Office of Community Engagement, this time will lunch a game called "Brilliant Mind" in which any age appropriate student can participate as a contestant for the game. The "Brilliant Mind" game is a one player game that tests general knowledge with questions (the questions number and duration is not subject of this program) from ten consecutive categories topics (see Table- 1) in which each category has a fixed score value associated with it, (e.g. Sports: 19, Music: 18, etc.). Each completed category's questions will generate all the numbers of the category's score value that are NOT multiple of the category number. For example, the numbers that are generated after completing the category Literature, which has a score value of 18, (i.e. its numbers are from 1 to 18) that are not multiple to 2, since Literature is number 2 in the game category list, are: 1, 3, 5, 7, 9, 11, 13, 15, 17. The contestant is awarded Cryptom money, calculated based on the sum of the numbers displayed from each category. This sum will be cumulative from one category to the next. You have been selected to be part of this project in the capacity of a research Intern. In this regard, your primary task involves applying the use of nested loop to develop an algorithm and Java class/program to accomplish the following: # 1 Category Science Score Value 19 2 Literature 18 3 Sports 19 4 Animals 20 5 Television 19 6 Music 18 7 Business 19 8 Geography 19 9 Cities 18 10 Opera 19 Table1: Game categories' number and score 1. Write an algorithm for the Simple Brilliant Mind Game Jackpot Program, in a text file named AlgA3_Q1.txt. 2. Name of the class/program: A3_Q1. 3. Display a welcome/salutation message to the user of the program. 4. Display a prompt message for the user to enter a valid age, that should be higher than 15 and less than 125 years. 5. Process for each category the numbers in its score value that are NOT multiple of that category number. 6. Process the cumulative Cryptom money at the end of each category as a sum of the numbers computed in (5) above. 7. Display for each category the numbers that are not the multiple of the current category number, in the form of ten numbers per line, followed by the cumulated reward Cryptom money. 8. Finally, display a complimentary-close message as follows: Thank you for using my bespoke the Simple brilliant Mind Game Jackpot Program! The following are samples of screenshots to illustrate the expected behavior of your program. Your program must display the same information with the same format and should work for any valid user entered data. Welcome to the Simple Brilliant Mind Game Jackpot! How old are you? 14 11144 Error: Your input/entry is not a valid integer between 15 to 125. Kindly retry again! How old are you? 18 Your Jackpot for the Simple Brilliant Mind Game is: In the score of Science, the numbers that are not multiple of category 1 are: No numbers are found in this category!==> The Cryptom value 0. In the score of Literature, the numbers that are not multiple of category 2 are: 1, 3, 5, 7, 9, 11, 13, 15, 17, >The Cryptom value 81. In the score of Sports, the numbers that are not multiple of category 3 are: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, >The Cryptom value 208. In the score of Animals, the numbers that are not multiple of category 4 are: 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, >The Cryptom value 358. In the score of Television, the numbers that are not multiple of category 5 are: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, > The Cryptom value 518. In the score of Music, the numbers that are not multiple of category 6 are: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, The Cryptom value 653. In the score of Business, the numbers that are not multiple of category 7 are: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, The Cryptom value 822. In the score of Geography, the numbers that are not multiple of category 8 are: 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, >The Cryptom value 988. In the score of Cities, the numbers that are not multiple of category 9 are: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, >The Cryptom value 1132. In the score of Opera, the numbers that are not multiple of category 10 are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, >The Cryptom value 1312. Thank you for using my bespoke the Simple Brilliant Mind Game Jackpot Program! Welcome to the Simple Brilliant Mind Game Jackpot! How old are you? 75 Your Jackpot for the Simple Brilliant Mind Game is: In the score of Science, the numbers that are not multiple of category 1 are: No numbers are found in this category!==> The Cryptom value 0. In the score of Literature, the numbers that are not multiple of category 2 are: 1, 3, 5, 7, 9, 11, 13, 15, 17, ==> The Cryptom value 81. In the score of Sports, the numbers that are not multiple of category 3 are: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, >The Cryptom value 208. In the score of Animals, the numbers that are not multiple of category 4 are: 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, --> The Cryptom value 358. In the score of Television, the numbers that are not multiple of category 5 are: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, >The Cryptom value 518. In the score of Music, the numbers that are not multiple of category 6 are: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, > The Cryptom value 653. In the score of Business, the numbers that are not multiple of category 7 are: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, The Cryptom value 822. In the score of Geography, the numbers that are not multiple of category 8 are: 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, >The Cryptom value 988. In the score of Cities, the numbers that are not multiple of category 9 are: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, >The Cryptom value 1132. In the score of Opera, the numbers that are not multiple of category 10 are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, >The Cryptom value 1312. Thank you for using my bespoke the Simple Brilliant Mind Game Jackpot Program!
Expert Answer:
Related Book For
Forensic And Investigative Accounting
ISBN: 9780808056300
10th Edition
Authors: G. Stevenson Smith D. Larry Crumbley, Edmund D. Fenton
Posted Date:
Students also viewed these accounting questions
-
Python and most Python libraries are free to download or use, though many users use Python through a paid service. Paid services help IT organizations manage the risks associated with the use of...
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
When a cosmetic manufacturer tests the market to determine how many women will buy eyeliner that has been tested for safety without subjecting animals to injury, is it involved in a descriptive...
-
Outline the two methods of taking a physical inventory count. Why is it necessary for every small business manager to take inventory?
-
Record the following petty cash transactions of Xeno, Corp., in the journal; expla nations are not required. Jun 1 Established a petty cash fund with a $200 balance. 30 The petty cash fund had $22 in...
-
On June 1, Fab Salad Dressings creates a petty cash fund with an imprest balance of $300. During June, Al Franklin, the fund custodian, signs the following petty cash tickets: On June 30, prior to...
-
If a company has an expected return of 20% while the risk-free rate is 4% and the expected return on the market is 16%, what is the company's Beta? Do the weights or components of the market...
-
Training and development departments are tasked with designing training programs to meet the needs of an organization. One of the first steps is to create learning objectives and design activities...
-
What is the taxonomic group that contains all the primates?
-
What information is available from the Insurance Information Institute on insurance company distribution channels?
-
In what specific ways does the skeleton of a biped reflect its form of locomotion?
-
What personal financial planning resources does FINRA make available to investors?
-
The internal resistance of a battery is relatively small when the battery is new but increases as the battery ages. When a new \(12.0-\mathrm{V}\) battery is attached to a \(100-\Omega\) load, the...
Study smarter with the SolutionInn App