/in/foo.cc:6:11: error: stray '\357' in program
int max=0;
^
/in/foo.cc:6:12: error: stray '\274' in program
int max=0;
^
/in/foo.cc:6:13: error: stray '\233' in program
int max=0;
^
/in/foo.cc:8:25: error: stray '\357' in program
string maxn,name,bgb,xb;
^
/in/foo.cc:8:26: error: stray '\274' in program
string maxn,name,bgb,xb;
^
/in/foo.cc:8:27: error: stray '\233' in program
string maxn,name,bgb,xb;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: error: expected ',' or ';' before 'int'
int a,b,c=0,d,z=0;
^~~
/in/foo.cc:9:4: error: expected initializer before 'int'
int n;
^~~
/in/foo.cc:10:9: error: 'n' was not declared in this scope
cin>>n;
^
/in/foo.cc:13:12: error: 'a' was not declared in this scope
cin>>name>>a>>b>>bgb>>xb>>d;
^
/in/foo.cc:13:15: error: 'b' was not declared in this scope
cin>>name>>a>>b>>bgb>>xb>>d;
^
/in/foo.cc:13:23: error: 'xb' was not declared in this scope
cin>>name>>a>>b>>bgb>>xb>>d;
^~
/in/foo.cc:13:27: error: 'd' was not declared in this scope
cin>>name>>a>>b>>bgb>>xb>>d;
^
/in/foo.cc:14:18: error: 'c' was not declared in this scope
if(a>80&&d>=1)c+=8000;
^
/in/foo.cc:15:18: error: 'c' was not declared in this scope
if(a>85&&b>80)c+=4000;
^
/in/foo.cc:16:12: error: 'c' was not declared in this scope
if(a>90)c+=2000;
^
/in/foo.cc:17:21: error: 'c' was not declared in this scope
if(a>85&&xb=="Y")c+=1000;
^
/in/foo.cc:18:22: error: 'c' was not declared in this scope
if(b>80&&bgb=="Y")c+=850;
^
/in/foo.cc:19:4: error: 'z' was not declared in this scope
z=z+c;
^
/in/foo.cc:19:8: error: 'c' was not declared in this scope
z=z+c;
^
/in/foo.cc:23:33: error: 'z' was not declared in this scope
cout<<maxn<<endl<<max<<endl<<z;
^