麻烦运行一下
运行时候按回车直接退出了#include <iostream>
using namespace std;
void main()
{
char ilnput;
cin >> ilnput;
if (ilnput = 'A')
{
cout << "very good" << endl;
return;
}
if (ilnput = 'B')
{
cout << "good" << endl;
return;
}
if (ilnput = 'C')
{
cout << "normal" << endl;
return;
}
if (ilnput = 'D')
{
cout << "failure" << endl;
return;
}
cout << "error" << endl;
}