资 源 简 介
题目:计算打鱼还是晒网题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高
于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可可提
成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时高于
40万元的部分,可提成3%;60万到100万之间时,高于60万元的部分,可提成1.5%,高于
100万元时,超过100万元的部分按1%提成,从键盘输入当月利润I,求应发放奖金总数?
1.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。
-topics : computing net fishery or drying topics : corporate bonus payments made to generate profit. Profit (I) less than or equal to 10 million, the prize money to be raised by 10%; The profit of more than 10 million, less than 20 million, less than 10 million by some 10%, which hovered above 10 million, cocoa generate 7.5%; 200,000-400,000 it among when more than 20 million, could generate 5%; 400,000 to 600,000 between when more than 40 million, can generate 3%; 6-1000000 between, above 60 million, could generate 1.5%, higher than 100 million, more than some 1 million by 1% will generate from the keyboard month profit I, for the total prize money should be paid? 1. Program Analysis :