Hello, this program is in C# and it has the user go on an adventure where they can choose how the story goes depending on the number they pick. After the first choice which is between walmart and costco it has the user make another choice. How can the program be fixed to add another set of options after the existing ones

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
1 using System;
2 using System.Text;
3 class Program
{
staticvoid Main(string[] args)
{
int choice,games_choice;
Console.WriteLine("You are on a quest for a rare flavor of chips you saw on an ad. The inside of the bag has an invaluable prize that could change your life forever. You decide to dedicate today to find that bag of chips. Do you go to Walmart or Costco first?");
Console.Write("Press 1 for 'Walmart' or Press 2 for 'Costco'\n");
choice = int.Parse(Console.ReadLine());
if(choice==1)
{
Console.WriteLine("You begin your meticulous search in the isles of the Walmart Supercenter only to find an empty display of the newly released rare flavor of chips. Out of the corner of your eye you see a nearby shopper with three bags of those rare chips in her basket casually strolling along. Craziness pops in your head and you have to make a quick decision. Your first option is to ask her nicely for one of the bags but that just seems far fetched. Your second option is to challenge her to a duel which seems more reasonable. And your third option is to follow her around the store hoping for the perfect opportunity to snatch a bag out of her basket.");
Console.WriteLine("Press 1 for Ask politely for a bag of chips");
Console.WriteLine("Press 2 for Duel for a bag of chips");
Console.WriteLine("Press 3 for Sneak a bag of chips out of the basket");
games_choice = int.Parse(Console.ReadLine());
if(games_choice == 1)
Console.WriteLine("Against your better judgment and your faith in humanity you approach her and the precious bag of chips. You explain the predicament you're in and ask her if she would be willing to give up one of the bags. She looks at you offended and pepper sprays you for daring to ask such a question. You have been defeated.");
elseif(games_choice==2)
Console.WriteLine("You decided the best option is to duel for the prize and may the winner have the glory. You climb a crate of sodas in the middle of an isle to begin your ambush. Quietly like a cheetah you wait your time for the perfect moment and then you jump! Landing on her head you both collapse to the ground. She has been knocked unconsious and you merge a victor with all three bags of chips!");
elseif(games_choice==3)
Console.WriteLine("You've always been a peace keeper and decide that the best way to go about it is to avoid any type of confrontation. You wait for the shopper to go to a busy part of the store. She puts the basket on the floor as she rummages through her purse. You also put your basket down preteneding to tie your shoe. You manage to sneak a bag of chips into your basket but you get greedy and go for a second bag. The shopper notices you pick pocketing her and steps on your hand with fury. You go home empty handed.");
}
elseif(choice==2)
{
Console.WriteLine("You enter the giant beast that is Costco. It's unusually full today of all days; how annoying. The chip craze is in the air and local law enforcement has been summoned to help keep the peace in the store between the shoppers. You walk around looking for the chip isle only to realize that there are giant crates full of them in the middle of the store but the line to get a bag wraps around the store twice. You can either confront them and tell them they cut the line, you can sneak past them in hopes they won't notice and tear you limb from limb, or you can stay where you are in hopes that there will be enough chip bags to get to you. ");
Console.WriteLine("Press 1 for Confront them");
Console.WriteLine("Press 2 for Sneak past the unsuspecting group");
Console.WriteLine("Press 3 for Stay where you are");
games_choice = int.Parse(Console.ReadLine());
if(games_choice==1)
Console.WriteLine("You nervously tap one on the shoulder and they turn around to find the person who dares bother them. You politely tell them they cut the line in front of you and would like your spot back. They deny doing so as they never saw you there and refuse to let you go ahead of their group. Not only that but they spot a group of elderly people hobbling to the back of the line and they invite them to go before their group in line.");
elseif(games_choice==2)
Console.WriteLine("You decide on stealth mode and the easiest way to do that is to army crawl around on the floor.  You have a mob of angry sumo wrestlers staring at you. One of them throws you so hard you ram into display of toys and knock the whole thing over.");
elseif(games_choice==3)
Console.WriteLine("You chose the nice person thing to do which is to bite your tongue and hope everything works out in the end. You decide that your choice to just stay in line after the thunderous group is the right choice and you wait patiently to get to the crate of chips");
}
}
}
 
Hello, this program is in C# and it has the user go on an adventure where they can choose how the story goes depending on the number they pick. After the first choice which is between walmart and costco it has the user make another choice. How can the program be fixed to add another set of options after the existing ones?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education