#include<iostream>
using namespace std;
void main()
{
int x;
cout<<"请输入当月的利润:"<<x<<endl;
int t;
if(x<=100000)
{
t=x*0.1;
cout<<"应发奖金总数是:"<<t;
}
else if(x>100000&&x<=200000)
{
t=(x-100000)*0.075+100000;
cout<<"应发奖金总数是:"<<t;
}
else if(x>200000&&x<=4000000)
{
t=100000*0.1+100000*0.075+(x-200000)*0.05;
cout<<"应发奖金总数是:"<<t;
}
else if(x>400000&&x<=6000000)
{
t=100000*0.1+100000*0.075+200000*0.05+(x-400000)*0.03;
cout<<"应发奖金总数是:"<<t;
}
else if(x>600000&&x<=10000000)
{
t=100000*0.1+100000*0.075+200000*0.05+400000*0.03+(x-600000)*0.015;
cout<<"应发奖金总数是:"<<t;
}
else if (x>1000000)
{
t=100000*0.1+100000*0.075+200000*0.05+400000*0.03+600000*0.015+(x-1000000)*0.01;
cout<<"应发奖金总数是:"<<t;
}
}
编译的时候出现这三个错误:
error C2018: unknown character '0xa3'
error C2018: unknown character '0xbb'
error C2146: syntax error : missing ';' before identifier 'cout'
请问是什么意思?谢谢