文件名称:4.2
介绍说明--下载内容均来自于网络,请自行研究使用
设BUF数据区中n个无符号字节数,试计算这些数之和,并以以下形式显示:d0+d1+…+dn-1=S
其中di为第i个数的十进制表示,S为和值的十进制表示。编写程序,要求将十进制数的显示使用子程序SUB1实现,求和工作用子程序SUB2实现。上机调试程序,检查程序正确性-BUF data area located in the n-byte unsigned number, the number of test and calculation of these and the following form: d0+ d1+ ...+ dn-1 = S in which di is the first i number of decimal, S for and that the decimal value. Programming, called for the display of a decimal number to achieve the use of subroutine SUB1, SUB2 summation subroutine to achieve with the work. Debugger on the machine to check the correctness of the procedure
其中di为第i个数的十进制表示,S为和值的十进制表示。编写程序,要求将十进制数的显示使用子程序SUB1实现,求和工作用子程序SUB2实现。上机调试程序,检查程序正确性-BUF data area located in the n-byte unsigned number, the number of test and calculation of these and the following form: d0+ d1+ ...+ dn-1 = S in which di is the first i number of decimal, S for and that the decimal value. Programming, called for the display of a decimal number to achieve the use of subroutine SUB1, SUB2 summation subroutine to achieve with the work. Debugger on the machine to check the correctness of the procedure
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4.2.txt