Question: the steps to simulate a day at an amusement park Create an object class called ride. Each 'ride' XS 1 8 should have a ticket
"the steps to simulate a day at an amusement park
Create an object class called ride. Each 'ride' XS should have a ticket value that can
be simplified to a single number representing the cost to ride. Rides also need a
line for patrons to enter before riding, a method to add patrons to the line, and a
method that removes some number of riders from the line and deducts the 'cost'
from their wallet to indicate that they have ridden the ride."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
