登录
首页 » Java Develop » 编写一个java应用程序。用户从键盘输入一个1

编写一个java应用程序。用户从键盘输入一个1

于 2023-05-18 发布 文件大小:73.10 kB
0 136
下载积分: 2 下载次数: 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Ftp服务1.0
    Ftp服务1.0-Ftp services 1.0
    2023-05-06 14:10:03下载
    积分:1
  • 继承与多态课件1.rar
    继承与多态课件1.rar-inheritance and polymorphism courseware 1.rar
    2022-02-12 17:03:14下载
    积分:1
  • 1。文件和目录管理,对java.io.file类编程,采用煤炭。
    1.文件和目录管理,使用java.io.File类编程,完成如下功能: (1)输入文件名称 (2)判断该文件名称是否存在 (3)若文件存在,判断是文件还是目录 (4)若是文件则输出文件的各种属性 (5)若是目录则输出其中包含的所有文件的名称 2.二进制文件的读写操作,用InputStream和OutputStream及其子类,设计并实现一个可以完成文件复制操作的程序。 3.文本文件的读写操作,编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。提示:对文件的分析可以使用StreamTokenizer类。 4.异常处理程序的编写,在上述三个程序中应用异常处理方法增加程序的错误处理能力。-1. File and directory management, the use of java.io.File class programming to complete the following functions : (a) input file name (2) to determine that the names of the existence of documents (3) If the file exists, or judgment is that the paper catalog (4) If the paper is output files the various attributes (5) If the directories containing the output of all documents name two. Binary file reading or writing, using InputStream and OutputStream and its sub-class design and realization of a complete copy of the operating procedures. 3. The text files and write, to prepare a text file analysis program, read an English text files, statistics words, numbers, punctuat
    2022-05-05 14:18:17下载
    积分:1
  • 非常经典的源代码,请各位
    非常经典的源代码,请各位-very classic source code, please s
    2023-08-22 17:10:03下载
    积分:1
  • 扫雷 minsweeper
    第2章 扫雷 esBITMAP10.BMP   .............BITMAP11.BMP   .............itmap2.bmp   .............BITMAP20.BMP 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-07-25 20:20:02下载
    积分:1
  • java实现的聊天程序服务器端
    java实现的聊天程序服务器端-chat server side
    2022-11-08 20:15:07下载
    积分:1
  • Introduction to iBatis configuration and simple database instance to achieve
    iBatis入门实例 配置及简单的数据库实现-Introduction to iBatis configuration and simple database instance to achieve
    2022-03-31 18:33:59下载
    积分:1
  • Core Java 2 Volume I
    Core Java 2 Volume I - Fundamentals, 6th Edition-Core Java 2 Volume I- Fundamentals, 6th Edition
    2022-06-30 11:07:38下载
    积分:1
  • IKEA shopping store is a distributed systems program , where there are customer...
    IKEA shopping store is a distributed systems program , where there are customer threads, stock thread , clerk threads and these operate to assist the customer threads to shop and pay,, uses monitor
    2022-03-20 07:37:23下载
    积分:1
  • this simple java code
    this simple java code-this is simple java code
    2022-12-27 12:35:03下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载