#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double m,n,s,g;
cin>>m;
if(m>=0&&m<=400) n=0.15;
else if(m>400&&m<=800) n=0.12;
else if(m>800&&m<=1200) n=0.10;
else if(m>1200&&m<=2000) n=0.07;
else n=0.04;
g=m*n;
s=m+g;
printf("Novo salario: %.2lf\n",s);
printf("Reajuste ganho: %.2lf\n",g);
printf("Em percentual: %.0lf %%",n*100);
return 0;
}
c语言输出百分号需要打两个百分号%%