Write a program to read in a video game title with the ESRB rating code included...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program to read in a video game title with the ESRB rating code included at the end after the double hypen ("-"), for example: Age of Empires II: Definitive Edition--T The program should output the game title (without double hyphen and rating code) and text stating which age group it is suitable for Use the following chart to determine the age suitability: ESRB Rating Code E E10+ T Age Suitability suitable for all ages suitable for ages 10 and up suitable for ages 13 and up suitable for ages 17 and up suitable for ages 18 and up M AO Use ONLY topics covered in Modules 1-4 to solve question. Below are 4 separate sample runs (user input is shown in bold underline) Sample Run #11 Enter the video game with ESRB rating: Grand Theft Auto V--M Grand Theft Auto V is suitable for ages 17 and up Sample Run #2 Enter the video game with ESRB rating: Planet Coaster--E Planet Coaster is suitable for all ages Sample Run #3 Enter the video game with ESRB rating: Civilization VI--E10+ Civilization VI is suitable for ages 10 and up Sample Run #4 Enter the video game with ESRB rating: Terraria--T Terraria is suitable for ages 13 and up Write a program to read in a video game title with the ESRB rating code included at the end after the double hypen ("-"), for example: Age of Empires II: Definitive Edition--T The program should output the game title (without double hyphen and rating code) and text stating which age group it is suitable for Use the following chart to determine the age suitability: ESRB Rating Code E E10+ T Age Suitability suitable for all ages suitable for ages 10 and up suitable for ages 13 and up suitable for ages 17 and up suitable for ages 18 and up M AO Use ONLY topics covered in Modules 1-4 to solve question. Below are 4 separate sample runs (user input is shown in bold underline) Sample Run #11 Enter the video game with ESRB rating: Grand Theft Auto V--M Grand Theft Auto V is suitable for ages 17 and up Sample Run #2 Enter the video game with ESRB rating: Planet Coaster--E Planet Coaster is suitable for all ages Sample Run #3 Enter the video game with ESRB rating: Civilization VI--E10+ Civilization VI is suitable for ages 10 and up Sample Run #4 Enter the video game with ESRB rating: Terraria--T Terraria is suitable for ages 13 and up
Expert Answer:
Posted Date:
Students also viewed these programming questions
-
Your portfolio has a standard deviation of 24% and an average return of 12%. There is a 5% chance of losing or more in any given year. Hint: This is based on VaR (Value at Risk) concept. 18.8%....
-
123 Compare the purely graphical properties of these two notations, and the ways in which the graphical properties of each display correspond to the information structure being defined. Describe...
-
for the equality test for M and N. The question concerns how to represent multisets of strings within ML. For each of the given data representations (a), (b) and (c) describe how you would implement...
-
A garden has an area of 320 ft 2 . Its length is 4 ft more than its width. What are the dimensions of the garden? X x +4 X
-
A salesperson calls you up and offers you $200 a year for life. If the interest rate is 9 percent, how much should you be willing to pay for that annuity?
-
The following sample of six measurements was randomly selected from a normally distributed population: 1, 3, -1, 5, 1, 2. a. Test the null hypothesis that the mean of the population is 3 against the...
-
Monthly production costs in Obianwu Company for two levels of production are Classify costs as variable. as follows. Indicate which costs are variable, fixed, and mixed, and give the reason for each...
-
Forester Company has five products in its inventory. Information about the December 31, 2018, inventory follows. The cost to sell for each product consists of a 15 percent sales commission. The...
-
a. Each? Friday, Lovely pays employees for the current? week's work. The amount of the weekly payroll is $ 6 comma 500 for a? five-day workweek. This year December 31 falls on a Wednesday. Lovely...
-
In December, Winnipeg Seafoods Ltd., an Ontario company (Winnipeg Seafoods), orally agreed to purchase from Lakehead Fish Wholesale Co., a federally incorporated company (Lakehead Fish), 1,000...
-
On 3/1/18 Comprehensive Corp. issues $100,000, 8-year bonds (dated 3/1/18) with a stated rate of 3% payable semiannually every 9/1 and 3/1. The proceeds of the bonds are $93,211. Comprehensive Corp....
-
6) Use exponential smoothing with trend adjustment to forecast deliveries for period 10. Let alpha = 0.4, beta = 0.2, and let the initial trend value be 4 and the initial forecast be 200. Actual...
-
4) ABC Corporation makes electrical watches. The lifetime (period during which a watch does not need major repair) of an electronic watch manufactured by this corporation has a normal distribution...
-
Russel Industries has just completed construction of an oil drilling facility at a cost of $10 million. The facility has a useful life of 10 years, is expected to have a $1 million residual value,...
-
write java programme Algorithm: Array Average (Array, n) Purpose: Find the average value Pre: Given the array Array and the number of elements, n Post: None Return: The average value { } } sum -0.0...
-
A national poll found that only 28% of American adults expect to live past the age of 70. The poll's margin of error was 3 percentage points at a 95% confidence level. This means that: The percent of...
-
What is the maximum volume of 0.25 M sodium hypochlorite solution (NaOCl, laundry bleach) that can be prepared by dilution of 1.00 L of 0.80 M NaOCl?
-
Discuss the effect on setting performance bonuses for staff if financial performance for a period contains both realised and unrealised gains/losses.
-
Financial statements should reflect realistically the performance and position of an organisation, but most of the accountant's rules conflict directly with the concept of realism. Discuss.
-
Explain why financial reports prepared under the historical cost convention are subject to the following major limitations: inventory is undervalued the depreciation charge to the income statement...
Study smarter with the SolutionInn App