import java.util.Scanner;

public class SalesmanSalary { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print('请输入上一月销售毛利:'); double grossProfit = input.nextDouble(); double salary = 900 + grossProfit * 0.09; System.out.println('该推销员的收入为:' + salary + '元'); } }

Java 计算推销员收入:基本工资加销售提成

原文地址: https://www.cveoy.top/t/topic/j7U6 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录