I want to create a class type (Price) with three attributes (departure, arrival, price) to model a ticket booth. I must also create a Server class that stores data such as prizes (with the aid of an array of type money). The user must enter the On arrival and departure and the class ticket booth must fetch prices in the table priceof the Server class. Can anyone help me how to create such kind of class?
Bookmarks