Question
Movie Pricing App In this project, we shall create an app that determines the price of a movie ticket based on a user's age. There
Movie Pricing App
In this project, we shall create an app that determines the price of a movie ticket based on a user's age.
There are 3 different prices as below:
Juniors - $6.50 (ages 6 and below)
Seniors - 7.50 (ages 60 and above)
All Others - $10.50
These prices are fixed and it is only displayed to the user after they provide their age to the application.
Prompt the user for their age. Determine the user's price based on their age and display it to the console. For example, if the user types in 4 as their age, display to them that their ticket price is $6.50 etc.
In addition to your program, create a flow chart of your solution and add the .pdf file to your project folder.
In order to prepend the $ to currency values, the program will need to use the CultureInfo.GetCultureInfo method. In order to do this, include the statement using System.Globalization; at the top of your program and format the output statements as follows: WriteLine("This is an example: {0}", value.ToString("C", CultureInfo.GetCultureInfo("en-US")));
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started