题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元...
代码说明:
题目:企业发放的奖金根据利润提成。利润(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.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。 -Title: Enterprise of the bonus payment of royalty under the profit. Profit (I) less than or equal to 10 million, prize money will be provided as 10 profits exceeding 10 million, less than 20 million, less than 10 million part of royalty by 10, higher than 100,000 yuan part of the cocoa percentage, 7.5 200000-400000 between, more than 20 million parts, may deduct a percentage of 5 400000-600000 between more than 40 million parts, may deduct a percentage of 3 600000-1000000 between, more than 60 million of the royalty to 1.5, above 100 million, over 100 million parts by 1 percent royalty, from the keyboard input month profit I, Qiu-Ying The total number of bonuses? 1. Program analysis: Please use a few axes to boundarie
下载说明:请别用迅雷下载,失败请重下,重下不扣分!