jiaxin
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
double sal,s=0;
cin>>sal;
if(sal>=0&&sal<=400.00){
s=0.15;
}
else if(sal>=400.01&&sal<=800.00){
s=0.12;
}
else if(sal>=800.01&&sal<=1200.00){
s=0.10;
}
else if(sal>=1200.01&&sal<=2000.00){
s=0.07;
}
else{
s=0.04;
}
printf("Novo salario: %.2lf\n",sal+sal*s);
printf("Reajuste ganho: %.2lf\n",sal*s);
printf("Em percentual: %d %%",(int)(s*100));
return 0;
}