2019年3月24日

摘要: #include <stdio.h>#include <stdlib.h>#include <time.h>void main() { int i; char c,gu; srand((unsigned)time(NULL)); c=6; gu=rand()%6+1; for(i=1;i<=100; 阅读全文
posted @ 2019-03-24 09:53 墨绯 阅读(52) 评论(0) 推荐(0)

2019年3月8日

摘要: #include<stdio.h>int main(){ int year; for (year=2000;year<=2500;year++){ if(year%4!=0){printf("%d不是闰年\n",year);} else if(year%4==0&&year%100!=0){prin 阅读全文
posted @ 2019-03-08 17:18 墨绯 阅读(74) 评论(0) 推荐(0)

导航