custom writing services

Need help: Write an email to our support staff support@myprivatementor.com or


whatsapp us

order order
Average score 4.97 out of 5 based on 836 opinions

c program 0

PROGRAM DESCRIPTION

 

You are going to revise the ticket-processing program (Program #5) to make it a more professional program, one that will be more representative of commercial program design.  You have now studied the use of additional functions to aid main in the overall processing.  Real computer programs consist of many of these functions.  Some are pretty small, intended to perform a simple but very important calculation.  Others are a bit larger in scope.  For this program you will need to revise Program #5 to incorporate such functions.

 

Since Program #5 is the background for this program, you will definitely want to have its directions handy.  I will leave out many of the details that you can glean from Program #5, and simply concentrate on the changes required.  Essentially, when you have this program finished, it should perform nearly the same as Program #5 did.  Of course, you might want to improve some of its look and feel, but the ticket-selling operation should still work the same.

 

SPECIFIC DIRECTIONS

 

Use the following functions by name in your design for this program.  If you wish to use more, that’s OK, as long as you include these as well.  Hint:  you will find it easiest just to accumulate all the final totals in main.

 

main                                         Your central loop will be here, as well as a lot more.  Use the other functions for

                                                  their specific purposes.

 

get_ticket_type                      Present a menu of the three ticket types and an option to quit.  Input the user’s choice

                                                  and make sure it is a valid choice.  If it is invalid, then ask for another choice.  Keep

                                                  asking until the user enters a valid ticket type.  Return to main the user’s choice.

 

find_ticket_price                   Receives the ticket type and returns the price of one ticket, including free tickets!

 

apply_discount                      Receives the ticket cost, applies the discount, and returns the discounted cost.

 

disp_purchase                        Displays the information for one customer purchase:  the type of ticket(s) purchased;

                                                  how many were purchased; and the cost of the purchase.  (If the cost is the discount

                                                  cost, only show that, not the original cost.)

 

disp_final_report                   Format and display the final numbers.  See the totals required to be displayed and an

                                                  example report in the Program #5 directions.

 

Before displaying the final report, you must clear the screen, so the final totals will look great!  Your final results must be laid out in a business-like report with headings, etc.  A simple bunch of statements, like “Total number of tickets sold:  1345” will not be acceptable.

 

This C++ solution should be Program6 Solution name.  Zip the solution for submitting, as usual.

 

TURN IN:  a data dictionary for this program, a complete flowchart, and the zipped solution directory.  Submit everything using the Dropbox in D2L.

 

EXTRA CREDIT (10 pts)

How much money did we “lose” by selling some tickets at a discount?  After the final report, display how many tickets of each type that were purchased with discount coupons, and also display how much more money we would have made if we hadn’t accepted the coupons at all.  (We may get greedy and cancel this program if it cuts too much into our revenue!)

NEED TO MAKE AN ORDER? HERE IS HOW IT WORKS

order-process

Need an answer from similar question?Click here and get a solution now

order You have just landed to the most confidential, trustful essay writing service to order the paper from. We have a dedicated team of professional writers who will assist you with any kind of assignment that you have. Your work is handled confidentially with a specific writer who ensures you are satisfied. Be assured of quality, unique and price friendly task delivered in good time when you place an order at our website. banner We have a team of dedicated writers with degrees from all spheres of study. We readily accept all types of essays and we assure you of content that will meet your expectations. Our staff can be reached  via live chat, email or by phone at any given time with prompt response.  

Prices starting at:

High school
Undergrad.(yrs 1-2)
Undergrad.(yrs 3-4)
Master’s
Doctoral
$10 / page
$10/ page
$12/ page
$15 / page
$17/ page

Note: The prices in the table above are applicable to orders completed within 14 days. Kindly see the full price table for more prices..

We urge you to provide as much information as possible to avoid many revisions. Set your deadline, choose your level, give payment information and relax while you track your work. We will deliver your paper on time. Are you in a quagmire and you are unable to complete your assignments? Do you doubt yourself on the quality of the essay you have written? Myprivatementor.com  is here to assist you. We will offer you unmatched quality that is plagiarism free. Place an order at myprivatementor.com  for guaranteed  high grades. order download

we offer gifts to our paper help customersPayment Methods

you can request our services and pay via paypal

we offer gifts to our paper help customersOur Guarantees

  1. Zero plagiarism.
  2. 100% confidentiality.
  3. FREE Reference page
  4. High Quality papers
  5. 24/7 Customer support

Our Testimonials Testimonials

I ordered a 7 page college essay and was delivered on time. Thank you guys I will definitely order again!

9.5
, FL

Our statisticsOur Statistics

  • Orders Completed todate 72387

  • Number of writers 500

  • Satisfied customers 99.7%

  • Returning customers 92.3%

  • Orders placed today 87