import java.io.IOException;class stdio
{
public static void main(String[] args) throws IOException
{
double da,db;
byte [] a = new byte[100];
System.out.print("please input number a:");
System.in.read(a);
da = Double.parseDouble(new String(a));
System.out.print("please input number b:");
System.in.read(a);
db = Double.parseDouble(new String(a));
System.out.println("result is :"+(da+db));
}
}给分吧,谢谢。
{
public static void main(String[] args) throws IOException
{
double da,db;
byte [] a = new byte[100];
System.out.print("please input number a:");
System.in.read(a);
da = Double.parseDouble(new String(a));
System.out.print("please input number b:");
System.in.read(a);
db = Double.parseDouble(new String(a));
System.out.println("result is :"+(da+db));
}
}给分吧,谢谢。
解决方案 »
- DES解密是报错,请解。。。
- 用java调用windowsAPI的问题
- java.awt 与 java.swing 有什么区别啊?谢谢。
- 获取Window系统下任务管理器的信息?
- 商业智能olap 在线分析,我搞伤了
- JAVA有像微软的MSDN那样的帮助文档资料吗,有的话介绍怎么用,谢了.
- 在出现例外的情况下继续try该怎么实现?而且循环的次数要是可以控制的
- 我的Applet在IE中没法显示,关于jre的问题望各位高手指点.
- 如何求出某年中所有星期一的那天的日期
- image/bufferimage生成一个8-bit的gif图形?
- 用过Gel开发工具没有?简直太棒了
- 请教:怎么理解线程通信的概念?
{
public static void main(String[] args) throws IOException
{
double da,db;
byte [] a = new byte[100];
System.out.print("please input number a:");
System.in.read(a);
da = Double.parseDouble(new String(a));
System.out.print("please input number b:");
System.in.read(a);
db = Double.parseDouble(new String(a));
System.out.println("result is :"+(da+db));
}
}给分吧,谢谢。
方法太多了
有在server中实现,在jsp中实现。还有就是在后台实现了
安全性能是:中,差,优。