Run id: 156523
Main.cc: In function 'int main()':
Main.cc:4:8: error: expected unqualified-id before ';' token
int a,;
^
Main.cc:8:14: error: the value of 'a' is not usable in a constant expression
case a>=90:cout<<'A';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:8:14: error: the value of 'a' is not usable in a constant expression
case a>=90:cout<<'A';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:9:14: error: the value of 'a' is not usable in a constant expression
case a>=70:cout<<'B';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:9:14: error: the value of 'a' is not usable in a constant expression
case a>=70:cout<<'B';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:10:14: error: the value of 'a' is not usable in a constant expression
case a>=60:cout<<'C';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:10:14: error: the value of 'a' is not usable in a constant expression
case a>=60:cout<<'C';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:11:15: error: the value of 'a' is not usable in a constant expression
case 60>=a:cout<<'D';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^
Main.cc:11:15: error: the value of 'a' is not usable in a constant expression
case 60>=a:cout<<'D';break;
^
Main.cc:4:6: note: 'int a' is not const
int a,;
^