Define a class named Money that stores a monetary amount. The class should have two private integer variables, one to store the
number of dollars and another to store the number of cents. Add accessor and mutator functions to read and set both member variables. Add another function that returns the monetary amount as a double. Write a program that tests all of your functions with at least two different Money objects.
The C++ source code defines the Money class and its methods, the class is used in the main function as a test to create the instances of the money class Acc1 and Acc2.
The object Acc2 is mutated and displayed with the "setDollar and setCent" and "getDollar and getCent" methods respectively.
The answers are: an IP datagram, and 3 forwading tables.
Explanation:
An IP datagram sent from a source host to a destination host will travel through 8 interfaces. 3 forwarding tables will be indexed to move the datagram from source to destination.
A LAN is connecting two or more computers to form a cable network between them. <span>A WAN is connecting two or more computers over a broad area to form a cable network between them.</span>