搜索资源列表
java-code1
- 给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字-Give a positive integer of not more than 5, requirements: First, find it is by several orders, second, reverse printing out the digits
IOSystemCall
- 在LINUX平台用c编程逆序一个文本文件,显示逆转结果的必须是原文件名。分别用两种方法:(task1):标准C的IO库函数(task2):Unix的IO数-In the LINUX platform using c programming reverse a text file, showing the result must be a reversal of the original file name. Were used in two ways: (task1): Standard C-I
Java_code1
- 将一个数组逆序输出,可是运行且能正确实现功能-Will be an array in reverse order output, but the operation can correct functions
java_4
- 给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。-Give a positive integer of not more than 5, the requirements: First, find it is by several orders, second, reverse printing out the digits.
BNUTBDJNBOOFR
- 【程序29】 题目:给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。 1. 程序分析:学会分解出每一位数,如下解释:(这里是一种简单的算法,师专数002班赵鑫提供) 2.程序源代码: 复制代码 代码如下: #include stdio.h #include conio.h main( ) { long a,b,c,d,e,x scanf( ld ,&x) a=x/10000 分解出万位 b=x 10000