-
JAVA语言小程序,可在C++环境下正常运行,无需修改
JAVA语言小程序,可在C++环境下正常运行,无需修改-JAVA applet language can C++ Environment normal operation, no need to modify
- 2022-04-02 06:30:24下载
- 积分:1
-
一个很难的数学问题(智力140以下勿进)
旧版Java程序设计Page97 3.12题
庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面...
一个很难的数学问题(智力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!
- 2022-01-26 08:06:00下载
- 积分:1
-
网上考试系统,大家可以下载来参考哦.网上考试系统,大家可以下载来参考哦....
网上考试系统,大家可以下载来参考哦.网上考试系统,大家可以下载来参考哦.-exam system,You can download a reference to it.
- 2022-02-03 03:17:58下载
- 积分:1
-
java封装好的显示日历 java封装好的显示日历
java封装好的显示日历 java封装好的显示日历 -java calendar java package package good show good show good show package calendar java calendar
- 2023-06-27 16:40:02下载
- 积分:1
-
Snake game is a complete source code for the Java Platform
游戏 贪食蛇 的源代码 十分完整 用于Java平台下-Snake game is a complete source code for the Java Platform
- 2022-12-08 11:55:03下载
- 积分:1
-
用JAVA语言编写的一个花的图形
用JAVA语言编写的一个花的图形-with Java language of a graphic flower
- 2022-08-18 02:18:43下载
- 积分:1
-
and database connectivity
和数据库的连接工作-and database connectivity
- 2023-07-10 07:30:03下载
- 积分:1
-
struts开发的文章系统,可以用,学习
struts开发的文章系统,可以用,学习-struts development of the article system, can be used to learn
- 2022-01-23 11:26:07下载
- 积分:1
-
Implemented using JSP message board, used in database ORACLE, beautiful interfac...
用JSP实现的留言板,用到的数据库为ORACLE,界面美观,功能齐全-Implemented using JSP message board, used in database ORACLE, beautiful interface, a full-featured ~ ~ ~
- 2022-02-03 14:22:53下载
- 积分:1
-
3. A Shape interface design, interfaces include : Draw and Resize. Some specific...
3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces include : Draw and Resize. Some specific type definition, such as : Point, Line, Circle, Rectangle, each category are achieving Shape interface. Draw method of drawing, graphics Resize changed size. Using Java to achieve these interfaces and class, and use tests such testing. Note : no real drawing, such as the Draw Line method, only the following text can be output : "line is the starting point (x1, y1), and the ultimate goal is to (x2, y2)"
- 2022-01-25 15:17:52下载
- 积分:1