-
编写一个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
-
一个javabean的转换与copy非常的好用希望大家好好研究一下
一个javabean的转换与copy非常的好用希望大家好好研究一下-a copy of the conversion and very handy hope we look carefully at the
- 2022-08-25 11:01:06下载
- 积分:1
-
这是书上的代码,包括学校管理系统,和网络聊天程序.Java编的.
这是书上的代码,包括学校管理系统,和网络聊天程序.Java编的.-This is the book" s code, including school management systems, and network chat program. Java compiled.
- 2022-01-25 14:53:05下载
- 积分:1
-
achieving dialog with functional Web
实现用对话框显示网站页面功能。-achieving dialog with functional Web-pages.
- 2022-05-13 07:47:00下载
- 积分:1
-
JAVA获取网卡的源码,可以用于要求不高的网络身份认证。
JAVA获取网卡的源码,可以用于要求不高的网络身份认证。-Java card access to the source code can be used to a modest network authentication.
- 2023-02-04 18:40:03下载
- 积分:1
-
这是一个对一个系统的医院管理,通过质量的人…
这是一个针对医院管理的一个系统,通过本系统使管理质量有一定的提高,减少资源浪费。5. 项目涉及技术JSP-JavaScript-Struts1.2-JSTL-Ajax,有详细文档,功能完整
-This is a response to a system of hospital management through the quality of management of the system so that a certain degree of improvement to reduce waste of resources. 5. Project involves technology JSP-JavaScript-Struts1.2-JSTL-Ajax, a detailed document, the functional integrity of the
- 2022-12-12 04:00:03下载
- 积分:1
-
ONess 是一套使用 Java 撰写的ERP, CRM, SRM系统. 无意间发现, 提供给需要的朋友研判, 由於档案数多又大,请自行到 http://sou...
ONess 是一套使用 Java 撰写的ERP, CRM, SRM系统. 无意间发现, 提供给需要的朋友研判, 由於档案数多又大,请自行到 http://sourceforge.net/projects/oness/下载.
-ONess is a Java written by the use of ERP, CRM, SRM systems. Inadvertently found a friend in need provided to the judge, as a result of more than a few large files, please download the http://sourceforge.net/projects/oness/.
- 2022-02-10 05:36:48下载
- 积分:1
-
在线聊天系统
在线聊天系统-Chat
- 2022-11-21 14:20:03下载
- 积分:1
-
Eclipse3.2 Tomcat服务器插件
eclipse3.2+tomcat服务器
plug-in验证程序,国际化概念.-eclipse3.2 tomcat server plug-in the verification process, the international concept.
- 2022-02-03 22:44:58下载
- 积分:1
-
接口实例
接口实例-入门学习-interface examples- learning portal
- 2022-02-07 14:48:31下载
- 积分:1