打卡
#include <iostream>
using namespace std;
double salary;
int percent;
int main(void) {
cin >> salary;
if (salary >= 0 and salary <= 400) percent = 15;
else if (salary > 400 and salary <= 800) percent = 12;
else if (salary > 800 and salary <= 1200) percent = 10;
else if (salary > 1200 and salary <= 2000) percent = 7;
else percent = 4;
double new_salary = salary + salary * (static_cast<double>(percent) / 100);
printf("Novo salario: %.2f\n", new_salary);
printf("Reajuste ganho: %.2f\n", new_salary - salary);
printf("Em percentual: %d %\n", percent);
}