文章
2
粉丝
25
获赞
0
访问
609
#include<iostream>
using namespace std;
int main()
{
int lr;int jj;
cin>>lr;
if(lr<=100000)
{
jj = lr*0.1;
}
if(lr<=200000&&lr>100000)
{
jj =10000 + (lr - 100000)*0.075;
}
if(lr<=400000&&lr>200000)
{
jj =10000 + 7500 +(lr - 200000)*0.05;
}
if(lr<=600000&&lr>400000)
{
jj =10000 + 7500 + 10000 +(lr - 400000)*0.03;
}
if(lr<=1000000&&lr>600000)
{
jj =10000 + 7500 + 10000 + 6000 +(lr - 600000)*0.015;
&n...
登录后发布评论
暂无评论,来抢沙发