登录
首页 » Asm » to-determine-a-leap-year

to-determine-a-leap-year

于 2011-10-25 发布 文件大小:1KB
0 63
下载积分: 1 下载次数: 3

代码说明:

  3、 题目:输入1842——2006年之间的十进制数。 要求: (1) 要求必须有提示信息,并独占一行。 (2) 判断是否是闰年,如果是输出“yes”,否则输出“no”。 (提示:先除100,如果除尽了再用400除如果除不尽是闰年。(如果刚才的100没有除尽则用4除,除尽则为闰年。) (3) 以二进制输出xxxx年8月29日距离1842年8月29日的月数。 (4) 以十进制输出xxxx年8月29日距离1842年8月29日的天数。 (3, the title: Enter 1842--2006 decimal number between the years. Requirements: (1) requires the existence of a message, and its own line. (2) to determine whether it is a leap year, if the output " yes" , otherwise output " no" . (Hint: first addition to the 100, except if divisible by the then 400 is a leap year if the indivisible (If you just use the 100 is not divisible by 4 except, divisible was a leap year.) (3) in the binary output xxxx August 29 from August 29, 1842 the number of months. (4) decimal output xxxx years from August 29, August 29, 1842 the number of days.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 矢量演示
    Vector demo The files included in the same archive as this document are public domain and no warranty of any kind is offered on them. Use them at own risk. This file is 99.4 guarenteed to exist and to occupy your hard drive space! -Vector demo The files included in the same archive as this document are public domain and no warranty of any kind is offered on them. Use them at own risk. This file is 99.4 guarenteed to exist and to occupy your hard drive space!
    2022-10-25 21:15:03下载
    积分:1
  • shiyan3
    Matlab通信系统的建模仿真 实验三 数字基带传输系统的建模与仿真(matlab)
    2009-12-22 12:18:44下载
    积分:1
  • 多目标优化算法
    目前的多目标优化算法有很多,Kalyanmoy Deb 的 NSGA-II(Nondominated Sorting Genetic Algorithm II,带精英策略的快速非支配排序遗传算法)无疑是其中应用最为广泛也是最为成功的一种。MATLAB 自带的 gamultiobj 函数所采用的算法,就是基于 NSGA-II 改进的一种多目标优化算法(a variant of NSGA-II)。gamultiobj 函数的出现,为在 MATLAB 平台下解决多目标优化问题提供了良好的途径。gamultiobj 函数包含在遗传算法与直接搜索工具箱(Genetic Algorithm and Direct Search Toolbox, GADST)中,这里我们称 gamultiobj 函数为基于遗传算法的多目标优化函数,相应的算法为基于遗传算法的多目标优化算法。本案例将以 gamultiobj 函数为基础,对基于遗传算法的多目标优化算法进行讲解,并详细分析其代码,同时通过一个简单的案例介绍 gamultiobj 函数的使用。 ( (U09) u5126 u591A u591A u5108 u7R2 U7565 u7654 u5EB2 u09A1 u653H U4E5F u662F u6700 u4E3A u6210 u529F u7684 u4E00 u79CD u3002MATLAB u81EA u5E26 u7684 gamultiobj u51FD u6570 u6240 u91C7 u7528 u7689 u7B97 u6CD5 uFF0C u5C31 u662F U57FA u4E8E NSGA-II u6539 u8FDB u7684 u4E00 u79CD u591A u76EE u6807 u4161 u5316 u7B97 u6CD5 uFF08a variant of NSGA-II uFF09 u3002gamultiobj u51FD u6570 u7684 u5150 U73B0 uFF0C u4E3A u5728 MATLAB u5E73 u53F0 u8E0B u89E3 u51B3 u5B1 u591A u76EE u6807 u4F18 u5316 u95EE u9898 u63D0 u4F9B u4E86 u826F u597D u7944 u9014 u5F84 u3002gamultiobj U5135 u5135 u5255 u5135 u5255 u5135 u7R2 u7R2 u7B97 F0C u8FD9 u91CC u6211 u4EEC u79F0 gamultiobj u51FD u6570 u4E3A u57FA u4E8E u907 u4F20 u7B97 u6CD5 u7684 u591A u76EE u6807 u4F18 u5316 u51FD u6570 uFF0C u76F8 U5E94 u7689 u7B97 u6CD2 u4E3A u57FA u4E8E u9057 u4F20 u7B97 u6CD5 u7684 u591A u76EE u6807 )
    2017-05-15 10:14:14下载
    积分:1
  • 显示石英钟表,用写的,也挺简单,初学者比较适合...
    显示石英钟表,用汇编语言写的,也挺简单,初学者比较适合-Show quartz sheet, written in assembly language, but also quite simple and more suitable for beginners
    2023-04-11 02:00:03下载
    积分:1
  • 实现两台微机之间通过RS
    汇编语言实现两台微机之间通过RS-232C电缆连接实现串行通信。 1、异步方式全双工通信,每次传送单个字符,能连续发送和接收。 2、通信双方采用程序查询方式。 -Microcomputer assembly language to achieve between the two RS-232C serial communication cable connection. 1, full-duplex asynchronous communications, each transmission of a single character can send and receive continuous. 2, communications procedures for both the use of inquiry methods.
    2022-03-16 06:09:27下载
    积分:1
  • PIC程序
    PIC程序-PIC procedure
    2022-01-23 10:35:46下载
    积分:1
  • SWAT模型源代码
    应用背景SWAT 开源,用于水文模型的进一步开发开源,可以对源模型进行改装,增加模块和减少模块,并进一步开发,使模型更加适合研究区的状况,也可以对模型进行重新组装开发,从而节约成本,提高工作效率,为我国水文模型的开发提供便利。关键技术After excluded the influence of antecedent rainfall, the soil loss at the hillslope with ephemeral gully had a significant linear regression equation with PI30.  Since determination coefficient (R2) and Nash-Suttclife efficiency coefficient (ENS) were all satisfactory, the results showed that soil loss equations were all run well while applying to soil loss prediction for the three rainfall regimes.
    2022-10-29 22:50:04下载
    积分:1
  • PCI1730 input routine
    PCI1730输入程序
    2023-03-12 16:30:04下载
    积分:1
  • 课程设计文本辑器源码 很简单的功能很不错的
    汇编课程设计文本编辑器源码 很简单的功能很不错的-Compilation of curriculum design, source code is very simple text editor features a very nice
    2022-02-28 19:34:37下载
    积分:1
  • 球赛计时计分器程序 AT89C51
    球赛计时计分器程序 AT89C51汇编语言-Match time points AT89C51 assembly language program
    2022-03-24 10:25:46下载
    积分:1
  • 696518资源总数
  • 104297会员总数
  • 29今日下载