Question: java 13 points) Test 2 checks if the methods addAct() and calculatePrice() are correct, addAct() should store a maximum of ten acts, with each act
13 points) Test 2 checks if the methods addAct() and calculatePrice() are correct, addAct() should store a maximum of ten acts, with each act being represented by an integer (you may assume any integer number can be an act number). After adding an act, the price is updated. The pricing policy for a standard ticket is as follows: 30 for the first three acts combined, 7,50 per act for acts four and five, and an additional SC for each further act. If you add a total of ten acts, the complete flag is automatically set to true. If a visitor does not want to schedule 10 acts, he or she can manually complete their ticket using the setComplete() method. Once a ticket is complete, you can no longer add further acts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
