Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a bb johnstonce.edu Mind T-Cenge Leaming Microsoft Office Home Thank You Lberty Univ Hstary Essays- OneDrive Sunday, September 1, 2019 100 11:59 PM Ticket Cost

image text in transcribed
a bb johnstonce.edu Mind T-Cenge Leaming Microsoft Office Home Thank You Lberty Univ Hstary Essays- OneDrive Sunday, September 1, 2019 100 11:59 PM Ticket Cost Sam works at a local entertainment venue. The price for a concert ticket is $55.00. The price for a play ticket is $75.00. Sam has developed an algorithm to determine ticket charge based on the event type. Use Sam's algorithm to find the results based on different inputs made by the user. Algorithm GET event type (1 - Concert; 2-Play) and store in etype. GET number of tickets purchased and store in qty. If (etype is equal to 1) pricePerTicket - 55.00. Otherwise pricePerTicket-75.00. Calculate the total cost using the formula: totalTicketCharge = pricePerTicket x qty. Display totalTicketCharge. Based on Sam's algorithm, answer the following questions. 1. If a user wishes to attend a concert and purchases three (4) tickets, how much is the pricePerTicket? What is the totalTicketCharge? 2. If a user wishes to attend a play and purchases two (6) tickets, how much is the pricePerTicket? What is the totalTicket Charge? ASSIGNMENT SUBMISSION When finished, make sure to click Submit. Optionally, click Save as Draft to save changes and continue working later, or click Cancel to quit without saving changes. Ce MacBook Air

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions

Question

1. What are the marketing implications of this situation?

Answered: 1 week ago