吗的又是编译错误这不急死人么.高手近来帮忙给看下
#include <iostream>using namespace std;
int main()
{ char mingling;
i=1;
while(i==1)
{ cout<<"*********************";
cout<<"计算机程序"<<'\n';
cout<<"a是加法运算"<<'\n';
cout<<"b是减法运算"<<'\n';
cout<<"c是退出程序"<<'\n';
cout<<"请你输入命令:";
cin>>mingling;
switch (mingling)
case 'a':
cout<<"计算加法\n";
cout<<"请输入第一个数:";
cin>>a;
cout<<"请输入第二个数:";
cin>>b;
cout<<"他们的合为:"<<a+b;
break;
case 'b':
cout<<"计算减法\n";
cout<<"请输入第一个数:";
cin>>a;
cout<<"请输入第二个数:";
cin>>b;
cout<<"他们的差为:"<<a+b;
break;
case 'c':
cout<<"程序退出";
break;
default;
cout<<"你输入的指令不合法\n";
break;
}
}