Main.cc:5:6: error: expected ‘;’ at end of member declaration
int score
^~~~~
Main.cc: In function ‘int main()’:
Main.cc:15:24: error: ‘struct node’ has no member named ‘scorel’; did you mean ‘score’?
cin>>a[i].name>>a[i].scorel
^~~~~~
score
Main.cc:21:1: error: expected ‘}’ at end of input
}
^