摘要: import java.util.*;class Test {public static void main(String[]args) { Scanner reader=new Scanner(System.in);int product=1;while(reader.hasNextInt()) { int x=reader.nextInt();product=product*x;}System.out.println(product);}} 阅读全文
posted @ 2013-03-05 19:20 翻滚的小豆哥 阅读(120) 评论(0) 推荐(1) 编辑