two Java problemsQuestion:Write a program which asks the user two numbers and the calculation (+, - , * or /) to be performed. The program shall print the calculation as well as the answer. Take care of the situation the divisor being zero.My answer:
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 17:54:36
xV͎#5~RK+u:鑆E Āajq3++8"N3 <
@g1hخj۵LTy/gr%Ǐ5`
KN@̹dY|2mșP"h.ÀׇJðVA cz"
*$BKDJIANY3ijۼpS>eZEx~?N"*Sǘ(\DgHfy*8*Arz@)2))\(>2<ÏPDuu]VZ8R|N`0`"
)Sh%O)"ɞ`hkЌt
wlx_+a\IH_LT(P-O4 QtIthfra]
&4rm8g҈}aiSߕ
ڨ5E
^-/||