1. 首页
  2. 数据库
  3. 其它
  4. 2_Vat_service_test 源码

2_Vat_service_test 源码

上传者: 2021-04-20 04:32:52上传 ZIP文件 2.59KB 热度 16次
去做: 将VarService伪代码转换为python class VatService { double vatValue; public VatService() { this.vatValue = 0.23; } public double getGrossPriceForDefaultVat(Product product){ return getGrossPrice(product.getNetPrice(), vatValue); } public double getGrossPrice(double netPrice, double vatValue){ if(vatValue > 1){ throw Exception }
下载地址
用户评论