文件名称:intprint
- 所属分类:
- 家庭/个人应用
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-12-07
- 文件大小:
- 204kb
- 下载次数:
- 0次
- 提 供 者:
- 服***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
【问题描述】给出一个不多于5位的正整数,要求:
1.求出它是几位数。
2.分别打印出每一位数字。
3.按照逆序打印出每一位数字。
【输入形式】控制台输入该正整数。
【输出形式】控制台分行输出输出结果。
【样例输入】1234
【样例输出】
4
1234
4321
【样例说明】1234位数为4,分别为1,2,3,4,逆序为4321
【评分标准】该题共有三个输出整数,完全正确得10分,每答错一个扣掉4分,直至得分为0。本题要求上传程序的源文件。所采用语言可以是C(.c)。主文件名设定为intprint.c-[Problem Descr iption] give a little positive integer in five of requirements:
1 is the number of a few find it.
2 were printed out for each digit.
3 in reverse order to print out each digit.
[Enter] console input form the positive integers.
[Form] console output output output branches.
[1234] Sample input
Sample output]
4
1234
4321
[1234] Example Descr iption median 4, 1,2,3,4, respectively, in reverse order of 4321
[] The title scoring a total of three outputs integer entirely correct 10 points, 4 points deducted for each wrong answer one until a score of 0. The question asked to upload the program s source files. The language can be used C (. C). Master file name is set to intprint.c
1.求出它是几位数。
2.分别打印出每一位数字。
3.按照逆序打印出每一位数字。
【输入形式】控制台输入该正整数。
【输出形式】控制台分行输出输出结果。
【样例输入】1234
【样例输出】
4
1234
4321
【样例说明】1234位数为4,分别为1,2,3,4,逆序为4321
【评分标准】该题共有三个输出整数,完全正确得10分,每答错一个扣掉4分,直至得分为0。本题要求上传程序的源文件。所采用语言可以是C(.c)。主文件名设定为intprint.c-[Problem Descr iption] give a little positive integer in five of requirements:
1 is the number of a few find it.
2 were printed out for each digit.
3 in reverse order to print out each digit.
[Enter] console input form the positive integers.
[Form] console output output output branches.
[1234] Sample input
Sample output]
4
1234
4321
[1234] Example Descr iption median 4, 1,2,3,4, respectively, in reverse order of 4321
[] The title scoring a total of three outputs integer entirely correct 10 points, 4 points deducted for each wrong answer one until a score of 0. The question asked to upload the program s source files. The language can be used C (. C). Master file name is set to intprint.c
(系统自动生成,下载前可以参看下载内容)
下载文件列表
正整数的打印
............\Debug
............\.....\intprint.obj
............\.....\vc60.idb
............\.....\vc60.pdb
............\.....\正整数的打印.exe
............\.....\正整数的打印.ilk
............\.....\正整数的打印.pch
............\.....\正整数的打印.pdb
............\intprint.c
............\intprint.dsp
............\intprint.dsw
............\intprint.ncb
............\intprint.opt
............\intprint.plg
............\wenjiankaobei.zip
............\正整数的打印.dsp
............\正整数的打印.dsw
............\正整数的打印.ncb
............\正整数的打印.opt
............\正整数的打印.plg