Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Overview. This is in Perl. The 70th Emmy Awards will be held on Monday, September 17th, 2018. Write a program to simulate a computerized balloting

Overview. This is in Perl.

The 70th Emmy Awards will be held on Monday, September 17th, 2018. Write a program to simulate a computerized balloting system for a subset of the categories for the awards program.

Provide an interactive ballot to allow the user to select her favorites in each of the categories using the categories and nominees below:

Outstanding Lead Actor in a Comedy Series

Donald Glover, "Atlanta"

Bill Hader, "Barry"

Anthony Anderson, "black-ish"

Larry David, "Curb Your Enthusiasm"

William H. Macy, "Shameless"

Ted Danson, "The Good Place"

Outstanding Lead Actress in a Comedy Series

Pamela Adlon, "Better Things"

Tracee Ellis Ross, "black-ish"

Lily Tomlin, "Grace and Frankie"

Issa Rae, "Insecure"

Allison Janney, "Mom"

Rachel Brosnahan, "The Marvelous Mrs. Maisel"

Outstanding Children's Program

"A Series of Unfortunate Events"

"Alexa & Katie"

"Fuller House"

"Star Wars Rebels"

"The Magical Wand Chase: A Sesame Street Special"

Outstanding Cinematography for a Limited Series or Movie

"Fahrenheit 451"

"Genius: Picasso": "Chapter One"

"Godless": "An Incident at Creede"

"The Alienist": "The Boy On The Bridge"

"Twin Peaks": "Part 8"

"USS Callister (Black Mirror)"

Outstanding Comedy Series

"Atlanta"

"Barry"

"black-rsh"

"Curb Your Enthusiasm"

"GLOW"

"Silicon Valley"

"The Marvelous Mrs. Maisel"

"Unbreakable Kimmy Schmidt"

Outstanding Drama Series

"Game of Thrones"

"Stranger Things"

"The Americans"

"The Crown"

"The Handmaid's Tale"

"This Is Us"

"Westworld"

Outstanding Supporting Actress in a Comedy Series

Zazie Beetz as Van, "Atlanta"

Betty Gilpin as Debbie Eagan, "GLOW"

Laurie Metcalf as Jackie Harris, "Roseanne"

Aidy Bryant as Various Characters, "Saturday Night Live"

Leslie Jones as Various Characters, "Saturday Night Live"

Kate McKinnon as Various Characters, "Saturday Night Live"

Alex Borstein as Susie, "The Marvelous Mrs. Maisel

Megan Mullally as Karen Walker, "Will & Grace"

Each category will have one additional nominee, listed after all of the actual nominees, which will be "Write In". If the user selects the "Write In" nominee, then your program should offer a prompt for the user to type in their own nominee for that category.

Present the categories and nominees exactly in the order listed here:

Outstanding Lead Actor in a Comedy Series

Outstanding Lead Actress in a Comedy Series

Outstanding Children's Program

Outstanding Cinematography for a Limited Series or Movie

Outstanding Comedy Series

Outstanding Drama Series

Outstanding Supporting Actress in a Comedy Series

Record the user's votes, and then print one final summary of their selections in each category at the end of your program.

THIS IS HOW THE USER INPUT LOOKS LIKE----image text in transcribed

THIS IS THE FINAL OUTPUT LOOKS LIKE-----

image text in transcribed

Sample Run with Examples of Bad Input Welcome to the 7eth Emmy Awards! The nominees for outstanding Lead Actor in a Comedy Series are: [1] Donald Glover, "Atlanta" [2] Bill Hader, "Barry" [3] Anthony Anderson, "black-ish" [4] Larry David, "Curb Your Enthusiasm" [5] William H. Macy, "Shameless" [6] Ted Danson, "The Good Place" [7] Write In Please enter your choice for outstanding Lead Actor in a Comedy Series now: I'm sorry, but -1 is not a valid option. Please enter your choice for outstanding Lead Actor in a Comedy Series now: e I'm sorry, but 0 is not a valid option. Please enter your choice for Outstanding Lead Actor in a Comedy Series now: 2 Thank you for selecting Bill Hader, "Barry" as outstanding Lead Actor in a Comedy series. The nominees for outstanding Lead Actress in a Comedy Series are: [1] Pamela Adlon, "Better Things [2] Tracee Ellis Ross, "black-ish [3] Lily Tomlin, "Grace and Frankie" 4] Issa Rae, "Insecure" [S] Allison Janney, "Mom" [6] Rachel Brosnahan, "The Marvelous Mrs. Maisel" 17] Write In Please enter your choice for outstanding Lead Actress in a Comedy Series now: 6

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

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions