摘要: 1.在oracle网站下载的jdk,下载后双击问我是否重新安装,无法打开,也看不见其他附属文件。2.在配置环境时忘记加分号了,无发配置成功。 阅读全文
posted @ 2013-03-07 22:22 徐慧同学 阅读(209) 评论(2) 推荐(3) 编辑
摘要: import java.util.*;public class Example{ public static void main(String args[]){ Scanner reader=new Scanner(System.in); int mul=1; while(reader.hasNextInt()){ int x=reader.nextInt(); mul=mul*x; } System.out.printf("%d这些整数的乘积为%f\n",mul); }} 阅读全文
posted @ 2013-03-07 21:29 徐慧同学 阅读(114) 评论(0) 推荐(3) 编辑