Question: 5. Numeric addresses for computers on the international network Internet are composed of four parts, separated by periods, of the form where xx, yy, zz,
5. Numeric addresses for computers on the international network Internet are composed of four parts, separated by periods, of the form where xx, yy, zz, and mm are positive integers. Locally, computers are usually known by a nickname as well. You are designing a program to process a list of Internet addresses, identifying all pairs of computers from the same locality. Create a structure type called address_t with components for the four inte- gers of an Internet address and a fifth component in which to store an associ- ated nickname of ten characters. Your program should read a list of up to 100 addresses and nicknames terminated by a sentinel address of all zeros and a sentinel nickname
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
