摘要: 学一些东西应该,学以致用:现在我开始使用流的办法从控制台读取数据import java.io.*;public class Demo2{ public static void main(String[] args) throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String string = in.readLine(); double n = Double.parseDouble(string); ... 阅读全文
posted @ 2013-11-09 15:35 平林新袖 阅读(597) 评论(0) 推荐(0) 编辑