From BU Computer Science
Jump to navigation Jump to search

Second Class assignment

Choice 1

Adapt the previous choice program to allow computers to have a cost. Add a function that will compute the cost of all computers in a given network. Write a driver that demonstrates that it works.

Choice 2

Adapt previous choice one program so that computers also have the amount of used disk space. Create a function that outputs the total amount of available disk space for all computers in the network.