文件名称:Java
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 73kb
- 下载次数:
- 0次
- 提 供 者:
- k***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个java应用程序。用户从键盘输入一个1-9999之间的数,程序将判断这个数是几位数,并判断这个数是否回文数。回文数是指将数含有的数字逆序排列后得到的数和原数相同,例如12121,4224,6778776等都是回文数。
1)程序具有判断用户的输入是否为合法整数的功能。对非法输入(例如含有字母)要进行处理。
2)要判断输入数的位数,并输出相关信息。
3)要判断是否回文数。
二、二战期间,英国情报人员获取德军的一机密电报,电报的内容为:
bzdz izu sxgzd vs lh ,vpzg woflsh vs vwrh vhlsddlmp glm wrw gzy vsg .gflyz gstfzu bvsg gzsd hdmlp vml lm ,hghzvy wmz hwiry mvvdgvy izd z hzd vivsg ,ltz tmlo tmlO
情报人员已经知道,这段电报的加密方式为:
1. 首先将字符串的顺序颠倒。
2. 字母互换的规律为:A->Z, B-Y, C-X...X->C, Y->B, Z-A a->z, b->y, c-x...x->c, y->b, z->a.
3. 非字母字符保持不变。
请编程帮助情报人员破译这份机密电报。给出注释良好的源程序和程序运行后的结果。
-Write a java application. User keyboard input from a number between 1-9999, the program will determine the number of a few are a few, and to determine whether the number of palindrome number. Palindrome refers to a number of the figure contains a number of reverse order and after a number of the original number of the same, such as the number of 12121,4224,6778776 are palindrome.
1) procedures to determine whether the user s input as a legitimate function of an integer. Illegal input (such as with letters) to deal with.
2) To determine the median number of input and output-related information.
3) To determine whether the palindrome number.
Second, during World War II, British intelligence agents to obtain a confidential German Telegram, Telegram says:
bzdz izu sxgzd vs lh, vpzg woflsh vs vwrh vhlsddlmp glm wrw gzy vsg. gflyz gstfzu bvsg gzsd hdmlp vml lm, hghzvy wmz hwiry mvvdgvy izd z hzd vivsg, ltz tmlo tmlO
Intelligence agents are already aware, this encryption method
1)程序具有判断用户的输入是否为合法整数的功能。对非法输入(例如含有字母)要进行处理。
2)要判断输入数的位数,并输出相关信息。
3)要判断是否回文数。
二、二战期间,英国情报人员获取德军的一机密电报,电报的内容为:
bzdz izu sxgzd vs lh ,vpzg woflsh vs vwrh vhlsddlmp glm wrw gzy vsg .gflyz gstfzu bvsg gzsd hdmlp vml lm ,hghzvy wmz hwiry mvvdgvy izd z hzd vivsg ,ltz tmlo tmlO
情报人员已经知道,这段电报的加密方式为:
1. 首先将字符串的顺序颠倒。
2. 字母互换的规律为:A->Z, B-Y, C-X...X->C, Y->B, Z-A a->z, b->y, c-x...x->c, y->b, z->a.
3. 非字母字符保持不变。
请编程帮助情报人员破译这份机密电报。给出注释良好的源程序和程序运行后的结果。
-Write a java application. User keyboard input from a number between 1-9999, the program will determine the number of a few are a few, and to determine whether the number of palindrome number. Palindrome refers to a number of the figure contains a number of reverse order and after a number of the original number of the same, such as the number of 12121,4224,6778776 are palindrome.
1) procedures to determine whether the user s input as a legitimate function of an integer. Illegal input (such as with letters) to deal with.
2) To determine the median number of input and output-related information.
3) To determine whether the palindrome number.
Second, during World War II, British intelligence agents to obtain a confidential German Telegram, Telegram says:
bzdz izu sxgzd vs lh, vpzg woflsh vs vwrh vhlsddlmp glm wrw gzy vsg. gflyz gstfzu bvsg gzsd hdmlp vml lm, hghzvy wmz hwiry mvvdgvy izd z hzd vivsg, ltz tmlo tmlO
Intelligence agents are already aware, this encryption method
(系统自动生成,下载前可以参看下载内容)
下载文件列表
06_6999_林浩强
..............\第一题
..............\......\.classpath
..............\......\.project
..............\......\bin
..............\......\...\JudgeNumber.class
..............\......\src
..............\......\...\JudgeNumber.java
..............\第二题
..............\......\.classpath
..............\......\.project
..............\......\bin
..............\......\...\TextCrackCode.class
..............\......\src
..............\......\...\TextCrackCode.java
..............\软件0603_3106006999_林浩强.doc
..............\第一题
..............\......\.classpath
..............\......\.project
..............\......\bin
..............\......\...\JudgeNumber.class
..............\......\src
..............\......\...\JudgeNumber.java
..............\第二题
..............\......\.classpath
..............\......\.project
..............\......\bin
..............\......\...\TextCrackCode.class
..............\......\src
..............\......\...\TextCrackCode.java
..............\软件0603_3106006999_林浩强.doc