导语: 本文目录一览:1、历届亚运会举办城市-万年历2、c++ 万年历3、3009年的除夕是几月几号? 8888年8月8日是星期几? 谢谢历届亚运会举办城市-万年历1、1951年3月4日至11日,第一届亚运会在新德里举行,此后,新德里又举办了第九届亚运会。2、1954年,第二届亚运会在马尼拉举行。菲律宾首都...
本文目录一览:
历届亚运会举办城市-万年历
1、1951年3月4日至11日,第一届亚运会在新德里举行,此后,新德里又举办了第九届亚运会。
2、1954年,第二届亚运会在马尼拉举行。菲律宾首都马尼拉位于菲律宾最大岛屿吕宋岛西岸,濒临马尼拉湾。它是全国政治、经济、文化的中心,也是一个重要的交通枢纽和贸易港口。马尼拉建城历史悠久,16世纪已是著名商港。
3、1958年5月24日至6月1日,第三届亚运会在日本东京举行。日本首都东京是一座现代化的国际城市,位于本州关东平原南端,下辖23个特别区、27个市、5个町、8个村以及伊豆群岛和小笠原群岛,总面积2155平方公里。
4、1962年8月24日,第四届亚运会在雅加达举行。
5、1966年,1970年,1978年和1998年第五届、第六届、第八届和第十三届在曼谷举行。泰国首都曼谷位于湄南河下游,距暹罗湾40公里,是全国政治、经济、文化、教育、交通运输的中心及全国最大的城市。曼谷市内有大小佛寺300多所,有“佛庙之都”之称。
6、1974年第七届亚运会在德黑兰举行。
7、1986年第十届亚运会在韩国汉城举行。韩国首都汉城(现称首尔),位于朝鲜半岛中部,汉江下游。汉江流经市区,将汉城分为江南和江北两个部分,是全国的政治、经济、文化中心。
8、1990年第十一届亚运会在北京举行。北京是中华人民共和国的首都,是全国政治、文化中心,是一座拥有3000余年的建城史和850余年的建都史的文明古城。
9、1994年第十二届亚运会在广岛举行。广岛市位于日本本州西南部的广岛县,濒临濑户内海,建于1589年。广岛在第二次世界大战时曾受原子弹严重破坏,故在原子弹爆发之处建造了和平纪念公园,以祈求永久和平。
10、2002年第十四届亚运会在釜山举行。釜山,位于韩国东南端,是韩国仅次于首尔的第二大城市。
11、2006年第十五届亚运会在多哈举行。多哈,卡塔尔国首都,位于波斯湾西南岸的卡塔尔半岛上。
12、2010年11月12日至27日第十六届亚运会在中国广州举行。广州市是广东省省会,广东省政治、经济、科技、教育和文化的中心。广州是一座有2200多年悠久历史的文化名城。广州又称“羊城”。
13、第17届亚洲运动会于2014年09月19日至2014年10月04日在韩国仁川举行,仁川是韩国第三个取得亚运会主办权的城市。
14、第18届亚洲运动会于2018年08月18日至2018年09月02日在印度尼西亚雅加达举行,雅加达是继曼谷、新德里后第三个取得第二次亚运会主办权的首都城市。
15、亚洲运动会简称亚运会,是亚洲规模最大的综合性运动会,由亚洲奥林匹克理事会的成员国轮流主办,每四年举办一届,与奥林匹克运动会相间举行,分为亚洲夏季运动会(亚运会)、亚洲冬季运动会(亚冬会)、亚洲青年运动会(亚青会)、亚洲残疾人运动会(亚残会)。
c++ 万年历
/*计算1-3000年的一年的日历。可以分屏输出,输出一整年的日历*/
/*文件名:Calendar.c*/
#include conio.h
#include stdio.h
#include ctype.h
#include stdlib.h
#include math.h
/*引用的头文件*/
#define firstdayof1 1
/* 定义公元元年的第一天是星期一=1,而星期日=7 */
#define gap " "
/* 设置日期数字之间的间隔大小*/
#define dent " "
/* 设置日历开始输出的位置离左边框的距离*/
#define maxyear 3000
/*设置年数的最大值*/
struct info {
int month; /*月份*/
int firstdayofmonth; /*本月第一天是星期几*/
int daysofmonth; /*本月的天数*/
int leap; /*是否为闰年*/
}monthinfo;
/*记录月份信息的结构体*/
int checkinput(void); /*检查输入*/
int inputyear(void); /*输入年份*/
int isleap(int y); /*判断闰年*/
void output(struct info); /*输出*/
void printhead(struct info ); /*输出月份开头开头*/
void printmonth(struct info); /*输入月份主体部分*/
struct info setinit(int); /*初始化当年一月份信息*/
struct info setmonthinfo(struct info ); /*设置下一月的月份信息*/
int checkinput(void){
/*检查输入的年份是否正确,正确返回年份,错误返回0*/
int y=0;
y=inputyear();
if(y1 || ymaxyear){
printf("\n输入错误!!!\n\n");
return 0;
}
else return y;
}
int inputyear(void){
/*输出提示信息要求输入年份,返回输入的年份*/
int y = 0;
printf("请输入年份(1-%d):",maxyear);
scanf("%d",y);
return y;
}
int isleap(int y){
/*判断是否为闰年,是为1,否为0*/
return ((y %4 ==0 y % 100 != 0) || y % 400 == 0);
}
void printhead(struct info M_info){
/*显示月份开头的标题*/
switch(M_info.month){
case 1 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"一 月\n"); break;
case 2 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"二 月\n"); break;
case 3 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"三 月\n"); break;
case 4 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"四 月\n"); break;
case 5 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"五 月\n"); break;
case 6 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"六 月\n"); break;
case 7 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"七 月\n"); break;
case 8 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"八 月\n"); break;
case 9 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"九 月\n"); break;
case 10 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"十 月\n"); break;
case 11 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"十一月\n"); break;
case 12 : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"十二月\n"); break;
default : printf("%s%s%s%s%s%s",dent,gap,gap,gap,gap,"未知月\n");
}
}
void printmonth(struct info M_info){
/*输出日历主体部分*/
int i = 1;
int day =1;
int max=M_info.daysofmonth + M_info.firstdayofmonth - 1;
printf("\n%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n\n",dent,"一",gap,"二",gap,"三",gap,"四",gap,"五",gap,"六",gap,"七");
printf(dent);
for(i=1; i=max; i++){
if(i M_info.firstdayofmonth){
printf("%s%s"," ",gap);
/*输出日历开头空白的日期*/
}
else{
printf("%2d",day++);
/*输出日历的数字*/
printf(gap);
}
if(i % 7 ==0){
printf("\n\n");
/*输出一行结束*/
printf(dent);
}
}
}
struct info setinit(int Year){
/*设置当年一月的月份信息,返回纪录一月份信息的struct info结构体变量*/
int i = 0;
int sum_day=0;
int firstday=0;
struct info M_info;
for(i=1; iYear; i++){
sum_day += 365;
if(isleap(i)){
sum_day += 1;
}
}
/*距离公元1年1月1日的天数*/
firstday = sum_day % 7 + firstdayof1;
/*一年的第一天是星期几的算法*/
if(firstday == 0){
firstday = 7;
}
M_info.month = 1;
M_info.firstdayofmonth = firstday;
M_info.daysofmonth = 31;
M_info.leap = isleap(Year);
return M_info;
}
struct info setmonthinfo(struct info M_info){
/*设置下一个月的月份信息,返回下个月的struct info结构体变量*/
int month_day[2][12]={{31,28,31,30,31,30,31,31,30,31,30,31},{31,29,31,30,31,30,31,31,30,31,30,31}};
/*平年和闰年的各个月的天数*/
struct info monthinfo;
monthinfo.month = M_info.month+1;
monthinfo.leap =M_info.leap;
monthinfo.daysofmonth = month_day[M_info.leap][M_info.month];
monthinfo.firstdayofmonth = (M_info.firstdayofmonth + month_day[M_info.leap][M_info.month - 1]) % 7;
/*月份的第一天是星期几的算法,在前一个月的基础上计算*/
if(monthinfo.firstdayofmonth == 0){
monthinfo.firstdayofmonth =7;
}
return monthinfo;
}
void output(struct info M_info){
/*输入月份日历,显示提示信息,等待键盘输入*/
struct info monthinfo;
printhead(M_info);
printmonth(M_info);
monthinfo = M_info;
printf("\n\n按任意键显视下一月, 按Esc键退出.\n");
while(getch() != 27 ){
/*ESC的ASCII为27*/
monthinfo = setmonthinfo(monthinfo);
printhead(monthinfo);
printmonth(monthinfo);
printf("\n\n按任意键显视下一月, 按Esc键退出.\n");
if(monthinfo.month == 12){
getch();
exit(1);
}
}
}
void main(){
int year = 0;
year = checkinput();
while(year == 0){
year = checkinput();
/*输入的年份有错,重新输入年份*/
}
printf("\n\n%s%s%s%s%s%d%s",dent,gap,gap,gap,gap,year,"年年历\n\n");
/*输出日历的开头*/
output(setinit(year));
}
用c语言写的要不?
3009年的除夕是几月几号? 8888年8月8日是星期几? 谢谢
A:
1.3009年的除夕是2月16号,星期四;
2.8888年8月8日是星期天,农历七月初一.
公元前3000年至公元10000年的时间都能用一个叫"实用万年历"的软件查到.
O(∩_∩)O Ok!
"新",看错了没关系哦! 我自己倒是没有算过,不过那个软件自己是算得出来的.下载地址在这里:
版权声明:3000年万年历(30000年日历)由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报投诉,一经查实,本站将立刻删除。
发表评论