• 现在重要的不是怎么让程序通过,而是教她怎么调试。 -傻闷登儿- ♂ (0 bytes) () 03/27/2018 postreply 12:39:49
• 多谢,请指教。程序通了,但只能出来2, -cm930118- ♀ (29 bytes) () 03/27/2018 postreply 12:49:59
• count沒有歸零啊 -violinpiano- ♂ (29 bytes) () 03/27/2018 postreply 12:55:59
• 那也只是编译通了,功能还没通。 -傻闷登儿- ♂ (290 bytes) () 03/27/2018 postreply 12:56:16
• Thanks, but I do not know what jdb is. -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 13:02:38
• do you know what 'google' is? -傻闷登儿- ♂ (246 bytes) () 03/27/2018 postreply 13:08:25
• Thanks. -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 13:17:12
• Thank you! I think my mother described it wrong -cm930118- ♀ (161 bytes) () 03/27/2018 postreply 13:05:30
• Thanks for your help! I appreciate it. -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 13:30:22
• for(int c = 2; c < i; i++) 是不是要c++ -youdecide- ♂ (0 bytes) () 03/27/2018 postreply 13:02:32
• Buggy -skyport- ♂ (0 bytes) () 03/27/2018 postreply 13:03:16
• 是啊,i++的话还循环个鬼啊 -Carlson- ♂ (0 bytes) () 03/27/2018 postreply 13:04:47
• Thank you very much! I will try it. -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 13:06:40
• 谢谢您, it works! -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 13:12:37
• 恩,即使这个work了,你的编程问题还没解决。不会熟练调试的不算一个程序员。 -傻闷登儿- ♂ (209 bytes) () 03/27/2018 postreply 13:17:39
• 谢谢你。 -cm930118- ♀ (315 bytes) () 03/27/2018 postreply 13:27:20
• 网上有很多满好的youtube视频。现在资源很多的。 -傻闷登儿- ♂ (140 bytes) () 03/27/2018 postreply 13:34:04
• 谢谢, -cm930118- ♀ (92 bytes) () 03/27/2018 postreply 13:43:05
• 1。下载一个Java IDE, Eclipse我觉得最好。 -amigo- ♂ (0 bytes) () 03/27/2018 postreply 15:25:59
• 谢谢 -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 17:23:29
• 2。试着用Eclipse 逐行运行,调试程序。 -amigo- ♂ (0 bytes) () 03/27/2018 postreply 15:26:53
• 3。for loop 没必要算到userInput, 循环到userInput/2就够了 -amigo- ♂ (0 bytes) () 03/27/2018 postreply 15:30:14
• 4。应该有递归算法,程序可以更紧凑 -amigo- ♂ (0 bytes) () 03/27/2018 postreply 15:31:06
• c++. 而且一但发现i 可以被第一个c整除 就足够确定i 是合数不是素数,试下一个i -网恋无罪- ♂ (7969 bytes) () 03/27/2018 postreply 16:03:06
• 感谢 -cm930118- ♀ (0 bytes) () 03/27/2018 postreply 17:24:09