登录
首页 » Windows开发 » public class gedebahe { public static void main( String [] args) { for ( ) { int...

public class gedebahe { public static void main( String [] args) { for ( ) { int...

于 2022-09-15 发布 文件大小:885.00 B
0 202
下载积分: 2 下载次数: 1

代码说明:

public class gedebahe { public static void main( String [] args) { for ( ) { int a=-1,b,c //b,c是分解出来的两个数 System.out.print("Please input a oushu:") //输入一个偶数 try { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)) String inputLine = in.readLine() a = Integer.valueOf(inputLine).intValue() }catch (Exception exc) { System.out.println("Sorry,please input a number.") return } if (a%2!=0) { System.out.println("Sorry,please input a oushu.") return } for (b=1 b

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

发表评论

0 个回复

  • Notepad++源代码 Notepad++ 是在微软视窗环境之下的一个免费的代码编辑器。为了产生小巧且有效率的代码编辑器,这个在GPL许可证下的自由软体...
    Notepad++源代码 Notepad++ 是在微软视窗环境之下的一个免费的代码编辑器。为了产生小巧且有效率的代码编辑器,这个在GPL许可证下的自由软体开发专案采用 win32 api 和 STL 以 C++ 程式语言撰写成,并且选用功能强大的编辑模组 Scintilla。多亏它的轻巧与执行效率,Notepad++ 可完美地取代微软视窗的记事本。这个软体开发专案已臻於成熟阶段,然而目前只有一个人从事软体开发与维护的工作,瑕疵是无法避免的。如果你有任何关於 Notepad++ 的建议,欢迎来信与我联系,但我不保证你的提议一定会被采用。希望你使用 Notepad++ 就像我开发它一样充满乐趣。这个压缩里是源代码,不包括可执行文件。-err
    2022-01-25 18:31:40下载
    积分:1
  • MFC 文档的多个实例
    1 MainFrame工程是多文档框架,如果没有插件,打开后客户区无任何显示。左侧的树控件来源于网络,不是本文推荐的主要目的。 2 PlugInTest是插件,工程编译后输出为dll,将该dll放到MainFrame输出的exe同目录下即可执行。 3 PlugInTest1是另外的一个插件,工程编译后输出也为dll,使用同2,但是例子和2不同。 做这个工程的目的就是想:如果一个工程足够大,可以将插件分配给不同的小组开发,同时互相又不会干扰。
    2022-08-03 03:58:38下载
    积分:1
  • 猜字迷游戏(支持网络对战)源代码.zip
    猜字迷游戏(支持网络对战)源代码.zip- puzzles riddles (support network players) source code. Zip
    2022-03-17 13:33:16下载
    积分:1
  • Karaoke OK for the preparation of procedures, the use of timers and the ingeniou...
    对卡拉OK程序的编写,定时器的使用和DrawText函数的巧妙运用。使用CDC的裁减功能。-Karaoke OK for the preparation of procedures, the use of timers and the ingenious use of DrawText function. The reduction of the use of CDC functions.
    2022-06-03 14:40:12下载
    积分:1
  • License Options file and may replace Named Users for a Program. whether temporar...
    License Options file and may replace Named Users for a Program, whether temporarily or not, no more than four (4) times per year, prov file never exceeds the number licensed per Program. Portions of the Programs may be installed on individual computers to accelerate startup times, as long as the-License Options file and may replace Named Users for a Program. whether temporarily or not. no more than four (4) times per year. 577 file never exceeds the number licensed per Program. Portions of the Programs may be instal led on individual computers to accelerate star tup times, as long as the
    2023-05-10 03:15:03下载
    积分:1
  • Ping a host or Network
    Ping a host or Network
    2022-01-31 20:55:58下载
    积分:1
  • Ayer-anba学校管理系统
    这是基于小学和初中阶段的信息系统。该程序是非常简单,它可以注册课程,添加学生、 找到的学生、 更新的学生,或删除学生。同时它具有登录和不同身份验证为普通用户、 书记官长和学校管理员。因为学校管理者要负责即使在创建新用户。这就是它。也是市民可以有能力,看看怎么回事,与这所学校的主页面。最重要,它也有学生年级搜索按钮。例如,如果学生想要看到他/她的分数报告它是容易走右侧的菜单,请单击"CheckResult",然后只对他/她的 ID,它将便于学生得到他/她的成绩。 命令名称就像: studGrade、 studReg、 studDel 和一些像这样。这只是意味着学生成绩、 学生删除、 学生注册或注册学生。 它是完美的工作,但可能需要检查和编辑
    2022-05-21 20:19:21下载
    积分:1
  • 因此,在鼠标程序失控
    使鼠标失控得程序-so out of control in the mouse procedure
    2022-02-03 18:48:20下载
    积分:1
  • 一个VB PIM
    一个VB PIM-a VB PIM
    2022-04-20 17:01:30下载
    积分:1
  • 基于ATMEGA16L单片机,DS1302设计的时钟程序.
    基于ATMEGA16L单片机,DS1302设计的时钟程序.-ATMEGA16L-based single-chip, DS1302 clock design process.
    2023-06-22 08:25:04下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载