登录
首页 » Java Develop » 一个很难的数学问题(智力140以下勿进) 旧版Java程序设计Page97 3.12题 庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面...

一个很难的数学问题(智力140以下勿进) 旧版Java程序设计Page97 3.12题 庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面...

于 2022-01-26 发布 文件大小:856.00 B
0 164
下载积分: 2 下载次数: 1

代码说明:

一个很难的数学问题(智力140以下勿进) 旧版Java程序设计Page97 3.12题 庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面是一段很有趣的对话。 庞涓说:我不知道这两个整数是多少,但我肯定你也不知道。 孙膑说:我本来不知道这两个整数是多少。但既然你这么说,那我现在知道了。 庞涓说:哦,那我也知道了。 要求输出所有可能的结果,包括这两个整数之和以及这两个整数之积。 程序设计思路:通过庞涓和孙膑的对话,逐步缩小和的范围,直至得出答案!-A difficult mathematical problem (intelligence not to enter the following 140) old Java programming Page97 3.12 title Pang Juan got two integers (2 to 99) the sum, Sun Bin 2 integers to get the product. Here is a very interesting dialogue. Pang Juan wrote: I do not know how much these two integers, but I am sure you do not know. Sun Bin said: I did not know how much of these two integers. However, as you say so, then I now know. Pang Juan said: Oh, I know. Require the output of all possible results, including the sum of these two integers, as well as the product of these two integers. Program design ideas: By Pang Juan and Sun Bin dialogue, gradually narrowing the scope of, and until the answer!

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

发表评论

0 个回复

  • java中实现在Bean中连接URL 
    java中实现在Bean中连接URL -achieve the linking URL Bean
    2022-04-10 14:41:27下载
    积分:1
  • Notepad realize phone features, with RMS system architecture to achieve is to le...
    实现手机的记事本功能,用RMS系统结构实现 是学习RMS不错的代码-Notepad realize phone features, with RMS system architecture to achieve is to learn from good RMS code
    2022-08-10 05:03:24下载
    积分:1
  • Java 基础1
    Java 基础1-Java foundation 1
    2022-09-15 23:40:03下载
    积分:1
  • Calculator
    自己做的计算器,欢迎大家参考-Calculator
    2023-03-18 22:15:03下载
    积分:1
  • 用dom解析xml文件,读到一颗Jtree 的树中,可供初学者参考
    用dom解析xml文件,读到一颗Jtree 的树中,可供初学者参考-used dom analytic xml document, read a Jtree tree which reference for beginners
    2022-03-12 14:28:40下载
    积分:1
  • [实验目的] 1、熟悉java开发工具JDK。2,米..
    [实验目的] 1、熟悉Java程序开发工具JDK。 2、掌握Java Application程序的基本结构和开发过程。 3、了解Java Applet程序的基本特点。 [实验内容及要求] 1、安装Java开发工具J2SE。 2、利用记事本或其它文本编辑器,编写一个简单的Java Applet程序。 3、利用记事本或其它文本编辑器,编写一个简单的Java Application程序。 4、编译并运行这两个程序 -[Experimental purposes] 1, and is familiar with Java development tools JDK. 2, master the Java Application procedures for the basic structure and development process. 3 to understand the Java Applet of the basic characteristics of the procedure. [The contents and requirements of the experiment] 1, the installation of Java development tools J2SE. 2, using Notepad or other text editor, write a simple Java Applet procedures. 3, using Notepad or other text editor, write a simple Java Application procedures. 4, compile and run these two procedures
    2022-07-15 23:29:41下载
    积分:1
  • JAVA基础实例200题,pdf文件格式的,对初学者很有用处的。
    JAVA基础实例200题,pdf文件格式的,对初学者很有用处的。-JAVA-based examples of 200 problems, pdf file format, very useful for beginners.
    2023-01-03 21:55:04下载
    积分:1
  • 这是对应的书Apress
    这是对应的书Apress-Taming-Java-Threads.pdf-This is the corresponding book Apress-Taming-Java-Threads.pdf
    2022-04-24 10:49:58下载
    积分:1
  • himself wrote the tapestry with the proven DatePicker
    自己写的tapestry 的带验证的DatePicker-himself wrote the tapestry with the proven DatePicker
    2022-01-25 18:03:36下载
    积分:1
  • 俄罗斯方块源码 Java编写 简单易学 框架清晰 带help菜单项等
    俄罗斯方块源码 Java编写 简单易学 框架清晰 带help菜单项等-Tetris source Java framework for the preparation of clear and easy to learn with help menu item, etc.
    2022-02-06 09:16:34下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载