只有一个错,那就是多了一个英文中括号,如图:下面是我修改后的程序:#include <iostream.h>int main(){ int year,month,day; year=2020; month=5; if(month==1||month==3||month==5||month==7||month==8||month==10||month==12) day=31; else if(month==4||month==6||month==9||month==11) day=30; else if((year%4==0 &&year%100!=0)||year%400==0) day=29; else day=28; cout<<year<<"年"<<month<<"月"<<day<<"日"; return 0;}下面是运行结果图:还有问题吗,谢谢采纳,Thanks♪(・ω・)ノ