1.定义两个字符数组输入两个字符串int strcmp(const char* stri1,const char* str2);用strcmp进行比较2.if(n%4==0&&n%100!=0||n%400==0)