Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been hired by an of the month club company to create their customer information program. This company will provide Ice Cream, Bacon or

You have been hired by an of the month club company to create their customer information program. This company will provide Ice Cream, Bacon or Fancy Peanut Butters to a client for a certain number of months as desired. The customer information program holds the following data: First Name Last Name Subscription Type: Ice Cream - $12 per month Bacon - $15 per month Peanut butters - $17 # of Months the service is Desired What type of shipping they want to use: Regular - $5.00 per month Expedited - $10.00 per month Overnight - $30.00 per month Taxes are at 4% Total Amount Due If the customer orders over $50 there is a 5% discount If the customer orders over $100 there is a 7% discount If the customer orders over $150 there is a 10% discount Write an application named Subscribers that prompts the user for the subscribers name, service type, # of Months and Total Amount Due. For purposes of this program: The user should be able to enter in as many customer orders as they want please note: keep it simple and assume that they enter in this information one customer at a time. This should be done using a loop that continues until the users states they do not want to enter any more customer orders (use a sentinel value). For the subscription type and type of shipping they want the user should be able to enter in more than one. For example: they should be allowed to pick Ice Cream using regular shipping and then, if they want, pick Peanut Butters using overnight. This should be done using a loop that continues until the users states they are done (use a sentinel value). The subscription type and shipping should be stored using arrays. Failure to use arrays will lower your grade. The total amount due is a calculation, for example, an individual who wants bacon for 4 months using a regular shipping method: ($15 * 4) + ($5 * 4) = $80.00. This would earn them a discount of 5 percent: $80 * .95 = $76.00 (Or 80 * .05 = $4 then $80-$4 = $76) The taxes should be calculated after the discount. Once the information is entered: display the name, each type of subscription and their cost for the month, and their total amount due. Your program must have the following: An introductory statement that allows the user to understand what type of program they are running. Variable declarations User input acceptance Decision statement - that determines what the user entered and will give the price of the ticket. Proper mathematical calculations Proper output - so the user can see how much the total of the tickets cost. You must provide the following: The code and Screenshot of your fully functioning program with inputs/outputs Note: The language to be used for this assignment is Microsoft C#

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions