logo

Ticket Sales Revenue Calculator

   

Added on  2019-09-24

5 Pages547 Words358 Views
 | 
 | 
 | 
Problem 1VariablesINTEGER CONSTANT PRICECATEGORY1 = 250 INTEGER CONSTANT PRICECATEGORY2 = 200INTEGER CONSTANT PRICECATEGORY3 = 150INTEGER TICKETCATEGORY1 = 0INTEGER TICKETCATEGORY2 = 0INTEGER TICKETCATEGORY3 = 0INTEGER AMOUNTGENERATEDIPOInput(s)Process(es) Output(s)ticketCategory1ticketCategory2ticketCategory3amountGenerated = (priceCategory1*ticketCategory1) + (priceCategory2*ticketCategory2) + (priceCategory3*ticketCategory3)amountGeneratedPseudocodeStart1.Define global constant Integer priceCategory1 = 2502.Define global constant Integer priceCategory2 = 2003.Define global constant Integer priceCategory3 = 1504.Define global Integer ticketCategory1 = 05.Define global Integer ticketCategory2 = 06.Define global Integer ticketCategory3 = 07.8.Module main()9. Call setSeats()10. Call getAmount()11. End Module12.13. Module setSeats()14. Set ticketCategory1=quantity(“Number of tickets sold of category 1“)15.
Ticket Sales Revenue Calculator_1

16. Set ticketCategory2=quantity(“Number of tickets sold of category 2“)17. Set ticketCategory3=quantity(“Number of tickets sold of category 3“)18.End Module19.20.Module getAmount ()21. Set amountGenerated = (priceCategory1*ticketCategory1) + (priceCategory2*ticketCategory2) + (priceCategory3*ticketCategory3)22. Display “Total income generated”,amountGenerated23.End ModuleEnd
Ticket Sales Revenue Calculator_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Calculate Annual Cost
|7
|844
|174

IPO Chart: Input Phone Number Process
|5
|626
|376

Managing Financial Resources: Calculation of Profitable Output Level, Cost-Plus Pricing, and Financial Ratios
|7
|1222
|412

MODELLING AND SIMULATION OF ENGINEERING
|10
|1536
|67

Is Amazon's Fire Phone a Good Idea or a Bad Idea?
|5
|2460
|160

Amplitude Shifting Keying and Frequency Shift Keying
|16
|1420
|253