刚发现 那句写double输出的语句是双引号而且不能写0.2F System.out.printf("%.2f", result); 正确写法 哈哈 System.ou 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交