#include <stdio.h> int isIplegal(int ipNum,int ipBits); int main() { char ipAd[16]=""; int ipNum,ipBits,dotCount,isLegal; while(scanf("%s",ipAd)!=EOF){ ipNum=0,ipBits=0,dotCount=0,isLegal=1; if(ipAd[15]!='\0'||ipAd[8]=='\0')//ip长度不合法 { printf("No!\n"); con...