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

to-determine-a-leap-year

于 2011-10-25 发布 文件大小:1KB
0 117
下载积分: 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 个回复

  • 在屏幕上开出三个窗口:起止坐标为(5,10)和(15,30),(5,50)和(15,70),(18,15)和(22,65)。要求可用左右方向键选择左窗口或右窗口
    在屏幕上开出三个窗口:起止坐标为(5,10)和(15,30),(5,50)和(15,70),(18,15)和(22,65)。要求可用左右方向键选择左窗口或右窗口为当前活动窗口。当一行字符显示满后(左右窗口一行显示20个字符,下窗口显示50个字符),窗口自动向上卷动一行,输入的字符仍显示与最低一行,窗口最高一行向上卷动后消失。用上下方向键可使活动窗口及下窗口内容同时上卷或下卷。输入‘ESC’后结束程序。(huangyujie)-screen out three windows : starting and ending coordinates (5,10) and (15, 30), (5,50) and (15.70) (18.15) and (22.65). Asked about the direction keys can be used to choose the left or right window to window to window current activities. When his characters show after the expiration of (his show window about 20 characters, the next window displays 50 characters), the window automatically scrolling upward here, the importation of characters showed that the minimum here, his highest window scrolling upward disappeared. Up and down direction keys enable activities under the window and window content, but on the next volume or volumes. Importation "ESC" end after the procedure. (Huangyujie)
    2022-07-13 02:20:18下载
    积分:1
  • 此程序为基于MATLAB的PSPICE仿真,非常实用,适用于初学者使用...
    此程序为基于MATLAB的PSPICE仿真,非常实用,适用于初学者使用-This procedure for the PSPICE simulation based on MATLAB is very useful for beginners to use
    2022-02-02 02:37:15下载
    积分:1
  • this a simple Timer original code
    this a simple Timer original code
    2023-03-22 08:35:04下载
    积分:1
  • 能够进行从0到24小时的计时,并设置时、分、秒的时钟程序。...
    能够进行从0到24小时的计时,并设置时、分、秒的时钟程序。-Can be carried out from 0 to 24 hours of time, and set the hours, minutes and seconds, clock program.
    2022-02-11 15:30:04下载
    积分:1
  • ad9951,dds资料,有用的朋友看看,希望对你有用!
    ad9951,dds资料,有用的朋友看看,希望对你有用!-ad9951, dds information useful to look at the Friend, I hope useful for you!
    2022-02-02 07:08:03下载
    积分:1
  • foc_of_AC_3ph_induction_motor
    Assembly code for field oriented control of a three phase induction motor using a TMS320 DSP. Makes use of a sensor and reference frame transformation to set the required torque and flux for field weakening.
    2010-02-20 18:28:41下载
    积分:1
  • 霓虹灯同步辑软件的源代码,图形界面的使用…
    霓虹灯花样编辑软件源代码,采用图形化界面编辑霓虹灯花样并自动生成HEX代码-Neon lights synchronized editing software source code, the use of graphical interface to edit and automatically generates the neon lights synchronized HEX code
    2022-06-03 02:44:41下载
    积分:1
  • the system can guide the work of Rootkit. simple 1) It's very small.The basi...
    可在系统引导时工作的RootKit,较简单 1) It s very small.The basic framework is just about 100 lines of assembly code.It supports 2000,XP,2003 2) It patches the kernel at runtime(no files are patched on disk).(basic version has this code removed , so as others could understand it easily). 3) BOOT KIT is PXE-compatible. 4) It can even lead to first ever PXE virus 5)It also enables you to load other root kits if you have physical access(Normally root kits can only be loaded by the administrator)-the system can guide the work of Rootkit. simple 1) It"s very small.The basic framework is jus t about 100 lines of assembly code.It supports 2 000, XP, 2003 2) It patches the kernel at runtime (no file "s are patched on disk). (basic version has this c ode removed. so as others could understand it easily). 3) BOO T KIT is PXE-compatible. 4) It can even lead to fi rst ever PXE virus 5) It also enables you to load o ther"isnt root kits if you have physical access (Norm ally root kits can
    2022-02-09 13:53:43下载
    积分:1
  • apilist译文件列表,写的API函数,反
    APilist,汇编写的api函数列表文件,在反汇编中很有用-APilist, compile written documents list api function, the anti-compilation of useful
    2022-03-11 10:45:15下载
    积分:1
  • nasm-bignum
    说明:  使用汇编实现大数相加相乘,纯nasm语言(Using assembly to add and multiply large numbers)
    2020-10-26 16:50:00下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载