文件名称:Calculator
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-01-05
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 叶**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用java写一个计算器程序,详见英文说明。
为学习java编写的第一个作业程序-Write a program that reads an expression as input and print out the result. Only integers and operators below are allowed in the expression:
+-*/ ( )
Your program should be able to deal with multiple cases of input.
Sample Input
3+ 5* 6
(2+32)/2-6
Sample Output
33
11
为学习java编写的第一个作业程序-Write a program that reads an expression as input and print out the result. Only integers and operators below are allowed in the expression:
+-*/ ( )
Your program should be able to deal with multiple cases of input.
Sample Input
3+ 5* 6
(2+32)/2-6
Sample Output
33
11
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Calculator
..........\.classpath
..........\.project
..........\.settings
..........\.........\org.eclipse.jdt.core.prefs
..........\bin
..........\...\Calculator.class
..........\src
..........\...\Calculator.java