Question: For this assignment, we create an application that determines the total price for tickets based on a user's input and a fixed price for the

For this assignment, we create an application that determines the total price for tickets based on a user's input and a fixed price for the ticket. The price per ticket is fixed at $10.50. Write a program that displays to the user the price of tickets and asks the user for the number of tickets they would like to purchase. After the user inputs the number of tickets, the program should then display to the user the price per ticket, the number of tickets sold, and the total price for the tickets. An example of the program is shown below: Sample Output The price per ticket is $10.50 How many tickets would you like? 10 Total Price for 10 tickets at $10.50 is $105.00 Use the output structure displayed above in your program. Formatting Your Output 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"))); Where value is the name your variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!