Main.cc:7:9: error: expected initializer before 'stu'
student stu[10];
^
Main.cc: In function 'int main()':
Main.cc:10:14: error: 'stu' was not declared in this scope
cin>>stu[i].name;
^
Main.cc:15:16: error: 'stu' was not declared in this scope
if(stu[j].a