Open oldoc63 opened 2 years ago
The properties of the network class are:
Each user on average deducts 5 units from the network's total data. To watch a movie you must connect to a network that has at least 10 remaining units of data.
Add a method movieTime() to the Network class that returns true if there is enough data available to watch a movie, false if there isn't.
Use the following Network class to track how much total data and how many users each network has.