Java中System.out.printf(" ?Federal Withholding (20.0%): $%4.2f\n", federalTax);此語句運行錯誤,去掉(20%)后運行正確,那么如何才能讓(20%)顯示出來呢?
如何在Java print語句中輸出小括號()
Jessecheng
2016-04-07 17:26:12