Unt the number of two digit prime numbers in it when adjacent digits are taken. For example, if the value of n is 114 then the two digit numbers that can be formed by taking adjacent digits are 11 and 1
Answers
Answer:
Numeric addresses for computers on the international network Internet are composed of four parts, separated by periods, of the form xx.yy.zz.mm where xx , yy , zz , and mm are positive integers. Locally, computers are also known by a nicknames.
Sample Data
IP address
111.22.3.44
555.66.7.88
111.22.5.66
0.0.0.0
A pair of computers are said to be in same locality when the first two components of the addresses are same. Given the IP addresses of ‘n’ computers, write an algorithm and the subsequent ‘C’ program to identify the pair of computers from the same locality.
In this example, the message to be displayed will be ‘Machines 1 and 3 are on the same local network’. Index of the machines is printed in the message. Index of the machines start from index 1