Homework 6
- Write a computer program that reads an IP address in dotted decimal
form, determines whether the address is class A, B, C, D, or E, and
prints the network and host portions.
Try to also recognize and identify special IP addresses such as the
limited broadcast address, a directed broadcast address, and so on.
- Write a computer program that reads an address in CIDR notation and
prints the resulting address and mask in binary.