文件名称:kang
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:630byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
2、 从键盘输入两个个位数,相加,显示其和。
思路:
分别输入被加数和加数,得到相应的ASCII码,分别再减去30H,得到其真实的值,进行相加,得到的结果判断是否大于10,大于10则除以10,得到商(十位)和余数()(个位),再分别显示;如果小于10则直接显示。
-2, the two digits from the keyboard, add, show its and. Idea: each input summand and additives, the corresponding ASCII code, respectively, minus 30H, by its true value, were added together, the results obtained to determine whether the greater than 10, more than 10 divided by 10, the quotient (10) and remainder () (a bit), each with display if less than 10 direct display.
思路:
分别输入被加数和加数,得到相应的ASCII码,分别再减去30H,得到其真实的值,进行相加,得到的结果判断是否大于10,大于10则除以10,得到商(十位)和余数()(个位),再分别显示;如果小于10则直接显示。
-2, the two digits from the keyboard, add, show its and. Idea: each input summand and additives, the corresponding ASCII code, respectively, minus 30H, by its true value, were added together, the results obtained to determine whether the greater than 10, more than 10 divided by 10, the quotient (10) and remainder () (a bit), each with display if less than 10 direct display.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kang.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
