2021年12月13日

c语言中的if语句

摘要: #include <stdio.h>int main(void){ int n=0; scanf("%d",&n); if(n%4==0&&n%100!=0||n%400==0) printf("Leap Year"); else printf("Not Leap Year"); } 如上,这个程序 阅读全文

posted @ 2021-12-13 11:18 张zqx 阅读(376) 评论(0) 推荐(0)

导航