!!!好难好难:
主要是说,让用户输入5个字符串,是IP地址类似于192.168.50.3
下面是我要实现的OUTPUT:
嗯,使用C语言
Sample run of program should create the following output.
Sample run 1:
Enter 5 IP addresses in separate lines:
192.168.50.1
192.168.50.3
171.20.51.23
171.20.197.51
192.168.52.4
192.168.50.1 and 192.168.50.3 are in the same local network.
Sample run 2:
Enter 5 IP addresses in separate lines:
192.168.50.1
192.168.50.3
171.20.51.23
171.20.197.51
192.168.50.4
192.168.50.1 and 192.168.50.3 are in the same local network.
192.168.50.1 and 192.168.50.4 are in the same local network.
192.168.50.3 and 192.168.50.4 are in the same local network.