-
编写一个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
-
文件过滤器,可以对某一文件夹下所有文本文件进行过滤,搜索含有指定字符串的文件...
文件过滤器,可以对某一文件夹下所有文本文件进行过滤,搜索含有指定字符串的文件-Paper filter, to a specific folder to filter all text files, search the documents containing the specified string
- 2022-01-27 23:00:53下载
- 积分:1
-
tree控件 tree控件 tree控件
tree控件 tree控件 tree控件 -tree control tree control tree control tree control tree control
- 2022-05-20 08:47:44下载
- 积分:1
-
把文本文件转化为pdf文件,需要iText.jar和iTextAsian.jar这两个包
把文本文件转化为pdf文件,需要iText.jar和iTextAsian.jar这两个包-make text documents into pdf documents, and the need iText.jar iTextAsian.jar two packets
- 2022-12-29 22:40:03下载
- 积分:1
-
java用SIMLIB通过串口发送短信猫。SIMLIB P.
java使用simlib通过串口短信猫发送手机短信。simlib包和需要的文件都在里面-java use simlib through the serial port to send SMS text messages cats. simlib packet and documents are needed inside
- 2022-04-07 15:15:36下载
- 积分:1
-
java good of the environment, this is a U
java方面的很好的运行环境,这是一个通票系统.-java good of the environment, this is a U-Pass system.
- 2022-01-28 04:49:44下载
- 积分:1
-
Java与模式
Java与模式
Java与模式
Java与模式-Java and Java with model model
- 2023-07-31 09:40:03下载
- 积分:1
-
可以让我们的手机象pc机一样安装各种软件,扩充手
机的功能。同时,利用java技术,还可以将电脑上的各种文章、资料、书籍制作成手机java电子书,然后...
可以让我们的手机象pc机一样安装各种软件,扩充手
机的功能。同时,利用java技术,还可以将电脑上的各种文章、资料、书籍制作成手机java电子书,然后安装到手机上观看。
-Allows us to phone the same machine as the pc to install various software, the expansion of mobile phone functions. At the same time, the use of java technology, computers can also be a variety of articles, information, books into mobile phone java e-books, and then install to your phone to watch.
- 2022-10-21 10:10:03下载
- 积分:1
-
用于查看系统的各种信息。
用于查看系统的各种信息。-View for the various information systems.
- 2022-02-04 13:58:09下载
- 积分:1
-
动态Form的使用,jsp,javascript,和SSH框架的联合使用
动态Form的使用,jsp,javascript,和SSH框架的联合使用-no this is a good soft yes not is
- 2022-07-10 21:39:13下载
- 积分:1