2020-12-01
计算销售提成工资
#include<stdio.h>
main()
{int bon=1000;
float bonus,i,bon1,bon2,bon3,bon4;
printf("请输入销售额\n");
scanf("%f",&i);
bon1=(i-10000)*0.05;
bon2=(i-20000)*0.06;
bon3=(i-50000)*0.07;
bon4=(i-100000)*0.08;
if(i<=10000)
bonus=bon;
else
if(i
原创
2020-12-01 16:02:37 ·
42 阅读 ·
1 评论