如何让 Javadiscount在括号 -eg- 内打印双变量 ( ) (42.00% of your purchase)?
discount
(42.00% of your purchase)
当我输入时,输出不包括括号内的System.out.println(discount + "(% of your purchase)");变量。discount它输出42.00(% of your purchase).
System.out.println(discount + "(% of your purchase)");
42.00(% of your purchase)
MMMHUHU
一只甜甜圈
呼唤远方
相关分类