-
编写一个java应用程序。用户从键盘输入一个1
编写一个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) proced
- 2023-05-18 17:45:02下载
- 积分:1
-
Java经典代码 提供很多经典的编程实力,学习Java编程的人可供阅读借鉴,相信会大有收获...
Java经典代码 提供很多经典的编程实力,学习Java编程的人可供阅读借鉴,相信会大有收获-Java code to provide a lot of classic strength of classic programming, learning Java programming for people who learn to read, I believe that will have much to gain
- 2023-03-11 14:10:03下载
- 积分:1
-
操作系统实验的程序
操作系统实验的程序-operating systems experimental procedure
- 2022-12-30 10:25:04下载
- 积分:1
-
文本转换成语音tts,可以将文本自动转换为英文语音。只支持英文。...
文本转换成语音tts,可以将文本自动转换为英文语音。只支持英文。-Text converted to voice tts, text can be automatically converted to the English voice. Only supports English.
- 2022-03-07 17:22:49下载
- 积分:1
-
这是一个计算器界面的实现 但有很多巧妙之处
这是一个计算器界面的实现 但有很多巧妙之处-This is a calculator interface to achieve a lot of trick Department
- 2022-07-09 18:34:50下载
- 积分:1
-
转载 TOMCAT源码分析(启动框架) 主要是讲解TOMCAT的系统框架, 以及启动流程。...
转载 TOMCAT源码分析(启动框架) 主要是讲解TOMCAT的系统框架, 以及启动流程。-reproduced Apache source analysis (launching framework) is on the payroll of the system framework, and the launching process.
- 2023-06-21 23:05:04下载
- 积分:1
-
a good JAVA guestbook
一个不错的JAVA guestbook -a good JAVA guestbook
- 2023-08-04 02:25:03下载
- 积分:1
-
java写的黑白棋游戏,支持网络游戏方式,Java程序员参考。
java写的黑白棋游戏,支持网络游戏方式,Java程序员参考。-Writing Riversi java games, support network games, Java programmers reference.
- 2022-10-04 05:15:04下载
- 积分:1
-
J2EE开发平台的搭建, 这里以 apache
J2EE开发平台的搭建, 这里以 apache-2.0.47+tomcat-4.1.27+Axis-1.1+jboss-3.2.6+Eclipse+SQLServer2000+hibernate 组合为例进行说明 但实际上将 Eclipse改为:JBuilder或把SQLServer2000换为其他的数据库也并非难事。 有了这个环境,我们就可以得心应手地在其上进行 j2ee 各种类型的开发了。-J2EE structures here to apache- 2.0.47 tomcat- 4.1.27 Axis-1.1 ORM-Eclipse 3.2.6 CRM portfolio example pertains to say it will actually Eclipse read : JBuilder or MS- for other databases is not easy. With this environment, we can handy in their Providing for the development of various types.
- 2022-07-24 11:31:35下载
- 积分:1
-
java dynamic graphics
java动态绘图-java dynamic graphics
- 2022-01-27 10:37:36下载
- 积分:1