Question: (c++ only) !!! 10.13 LAB 7 Part B - Goblin Sick Days Write a program for Gringotts Bank. The prograr will first display a cool
(c++ only) !!!

10.13 LAB 7 Part B - Goblin Sick Days Write a program for Gringotts Bank. The prograr will first display a cool ASClI art having to do with goblins or gringotts. /ss\.ss /ssssssss/sssssss /ssssss /ssssss /sssssssssss /sssss SSS$$5555S 555555S$S5$$5/5$5575S$5 SSS$55 $$SS SS$5 S5 SS53S$ /sS /$$$5SS SSSSSS /SSSS 5SSSS /S5$5SS SS$$s $$ 555SS SSI SI SS S3 5555S $55$SS/ Then the program will prompt the user for the number of gobin tellers that warked each of the last 3 years. Make 3 a constant integer and then use thaconstant variable throughout your prograrn instead of the nurnber 3 literal. Also, werify thet the user erters a number between 1 and 50 for the number of tellers. In the screen capture belowhe data entry from the user is highlighted in yellow. many Goblin tellers worked at Gringotts during each of the last 3 years? between 1 and 50) of GOBLIN TELLERS: 60 ! You must enter a number between 1 and 50 of GOBLIN TELLERS: 4 en, for each teller the program should ask for the goblin's name. Then the prograrn should ask for the number of days out sick that goblin was for each of the last three years. In the screen capture below, the data entry from the user is highlighted in yellow. of GOBLIN TELLERS: at's the goblin's name? NAME: Griphook Goblin ow many sik days did Griphook Goblin have in year 1? ow many sick days did Griphook Goblin have in year 2? ow many sick days did Griphook Goblin have in year 3? at's the goblin's name? NAME: Gobbledegook Goblin ow many sick days did Gobbledegook Goblin have in year 1? ow many sick days did Gobbledegook Goblin have in year 2? ow many sick days did Gobbledegook Goblin have in year 3? at's the goblin's name? NAME Gerald Goblin ow many sik days did Gerald Goblin have in year 1? ow many sick days did Gerald Goblin have in year 2? 14 ow many sick days did Gerald Goblin have in year 3? 20 at's the goblin's name? NAME: Ragnuk Goblin ow many sick days did Ragnuk Goblin have in year 1? ow many sick days did Ragnuk Goblin have in year 2? ow many sick days did Ragnuk Goblin have in year 3? The output should provide:-the number of tellers, -the total number of days missed by a l the tellers over the las three years,-the specific goblin that missed the most days, and -the specific gobin that missed the least days. In the screen capture below the text that is underlined should be printed wth a variable! he 4 Goblins were out sick for a total of 88 days during the last 3 years rald Goblin had the most sick days at 58 days! ledegook Goblin had the least sick days at 2 days! you want to run the program again? (y) You wll need to store the goblin names in a string array and the goblin sick days in an integer array. Both arrays should have 50 elements. 10.13 LAB 7 Part B - Goblin Sick Days Write a program for Gringotts Bank. The prograr will first display a cool ASClI art having to do with goblins or gringotts. /ss\.ss /ssssssss/sssssss /ssssss /ssssss /sssssssssss /sssss SSS$$5555S 555555S$S5$$5/5$5575S$5 SSS$55 $$SS SS$5 S5 SS53S$ /sS /$$$5SS SSSSSS /SSSS 5SSSS /S5$5SS SS$$s $$ 555SS SSI SI SS S3 5555S $55$SS/ Then the program will prompt the user for the number of gobin tellers that warked each of the last 3 years. Make 3 a constant integer and then use thaconstant variable throughout your prograrn instead of the nurnber 3 literal. Also, werify thet the user erters a number between 1 and 50 for the number of tellers. In the screen capture belowhe data entry from the user is highlighted in yellow. many Goblin tellers worked at Gringotts during each of the last 3 years? between 1 and 50) of GOBLIN TELLERS: 60 ! You must enter a number between 1 and 50 of GOBLIN TELLERS: 4 en, for each teller the program should ask for the goblin's name. Then the prograrn should ask for the number of days out sick that goblin was for each of the last three years. In the screen capture below, the data entry from the user is highlighted in yellow. of GOBLIN TELLERS: at's the goblin's name? NAME: Griphook Goblin ow many sik days did Griphook Goblin have in year 1? ow many sick days did Griphook Goblin have in year 2? ow many sick days did Griphook Goblin have in year 3? at's the goblin's name? NAME: Gobbledegook Goblin ow many sick days did Gobbledegook Goblin have in year 1? ow many sick days did Gobbledegook Goblin have in year 2? ow many sick days did Gobbledegook Goblin have in year 3? at's the goblin's name? NAME Gerald Goblin ow many sik days did Gerald Goblin have in year 1? ow many sick days did Gerald Goblin have in year 2? 14 ow many sick days did Gerald Goblin have in year 3? 20 at's the goblin's name? NAME: Ragnuk Goblin ow many sick days did Ragnuk Goblin have in year 1? ow many sick days did Ragnuk Goblin have in year 2? ow many sick days did Ragnuk Goblin have in year 3? The output should provide:-the number of tellers, -the total number of days missed by a l the tellers over the las three years,-the specific goblin that missed the most days, and -the specific gobin that missed the least days. In the screen capture below the text that is underlined should be printed wth a variable! he 4 Goblins were out sick for a total of 88 days during the last 3 years rald Goblin had the most sick days at 58 days! ledegook Goblin had the least sick days at 2 days! you want to run the program again? (y) You wll need to store the goblin names in a string array and the goblin sick days in an integer array. Both arrays should have 50 elements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
