请问这里有什么问题,我是新手!
#include<iostream>#include<cstdlib>
using namespace std;
struct grade[4];
{
public:
int g;
}grade[i];
int mian()
{
if(i=0,i<=4,i++)
{
cout<<"PLEASE PUT IN THE NUMBLE OF GRADE:";
cout<<i;
scanf("%d",&g);
switch(grade)
{
case g<100&&g>60 : cout<<"GOOD!";
case g>0&&g<=60 : cout<<"OH SHIT!";
default : cout<<"ERROR!!";
}
}
}
为什么上面显示错误,就语法,不要管其它的,谢谢!