/in/foo.cc: In function 'int main()':
/in/foo.cc:6:4: warning: left operand of comma operator has no effect [-Wunused-value]
A>=0,A<=100;
~^~~
/in/foo.cc:6:9: warning: right operand of comma operator has no effect [-Wunused-value]
A>=0,A<=100;
~^~~~~
/in/foo.cc:7:11: error: expected primary-expression before ')' token
cin (20%)*/A;
^
/in/foo.cc:7:13: error: expected primary-expression before '/' token
cin (20%)*/A;
^
/in/foo.cc:8:4: warning: left operand of comma operator has no effect [-Wunused-value]
B>=0,B<=100;
~^~~
/in/foo.cc:8:9: warning: right operand of comma operator has no effect [-Wunused-value]
B>=0,B<=100;
~^~~~~
/in/foo.cc:9:11: error: expected primary-expression before ')' token
cin (30%)*/B;
^
/in/foo.cc:9:13: error: expected primary-expression before '/' token
cin (30%)*/B;
^
/in/foo.cc:10:4: warning: left operand of comma operator has no effect [-Wunused-value]
C>=0,C<=100;
~^~~
/in/foo.cc:10:9: warning: right operand of comma operator has no effect [-Wunused-value]
C>=0,C<=100;
~^~~~~
/in/foo.cc:11:11: error: expected primary-expression before ')' token
cin (50%)*/C;
^
/in/foo.cc:11:13: error: expected primary-expression before '/' token
cin (50%)*/C;
^
/in/foo.cc:12:8: error: expected ';' before 'A'
cout A<<" "<<B<<" "<<C<<" ";
^
/in/foo.cc:12:30: warning: statement has no effect [-Wunused-value]
cout A<<" "<<B<<" "<<C<<" ";
^