0_0_29042121_27132.cpp:6:2: error: stray '#' in program
char a[100];
^
0_0_29042121_27132.cpp:7:2: error: stray '#' in program
while(cin>>a)
^
0_0_29042121_27132.cpp:8:2: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:9:2: error: stray '#' in program
char max='a';
^
0_0_29042121_27132.cpp:9:8: error: stray '#' in program
char max='a';
^
0_0_29042121_27132.cpp:10:2: error: stray '#' in program
int i,n;
^
0_0_29042121_27132.cpp:10:8: error: stray '#' in program
int i,n;
^
0_0_29042121_27132.cpp:11:2: error: stray '#' in program
n=strlen(a);
^
0_0_29042121_27132.cpp:11:8: error: stray '#' in program
n=strlen(a);
^
0_0_29042121_27132.cpp:12:2: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:12:8: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:13:2: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:13:8: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:14:2: error: stray '#' in program
if(a[i]>max)
^
0_0_29042121_27132.cpp:14:8: error: stray '#' in program
if(a[i]>max)
^
0_0_29042121_27132.cpp:14:14: error: stray '#' in program
if(a[i]>max)
^
0_0_29042121_27132.cpp:15:2: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:15:8: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:15:14: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:16:2: error: stray '#' in program
max=a[i];
^
0_0_29042121_27132.cpp:16:8: error: stray '#' in program
max=a[i];
^
0_0_29042121_27132.cpp:16:14: error: stray '#' in program
max=a[i];
^
0_0_29042121_27132.cpp:16:20: error: stray '#' in program
max=a[i];
^
0_0_29042121_27132.cpp:17:2: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:17:8: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:17:14: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:18:2: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:18:8: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:19:2: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:19:8: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:20:2: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:20:8: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:21:2: error: stray '#' in program
cout<<a[i];
^
0_0_29042121_27132.cpp:21:8: error: stray '#' in program
cout<<a[i];
^
0_0_29042121_27132.cpp:21:14: error: stray '#' in program
cout<<a[i];
^
0_0_29042121_27132.cpp:22:2: error: stray '#' in program
if(a[i]>=max)
^
0_0_29042121_27132.cpp:22:8: error: stray '#' in program
if(a[i]>=max)
^
0_0_29042121_27132.cpp:22:14: error: stray '#' in program
if(a[i]>=max)
^
0_0_29042121_27132.cpp:23:2: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:23:8: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:23:14: error: stray '#' in program
{
^
0_0_29042121_27132.cpp:24:2: error: stray '#' in program
cout<<"(max)";
^
0_0_29042121_27132.cpp:24:8: error: stray '#' in program
cout<<"(max)";
^
0_0_29042121_27132.cpp:24:14: error: stray '#' in program
cout<<"(max)";
^
0_0_29042121_27132.cpp:24:20: error: stray '#' in program
cout<<"(max)";
^
0_0_29042121_27132.cpp:25:2: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:25:8: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:25:14: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:26:2: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:26:8: error: stray '#' in program
}
^
0_0_29042121_27132.cpp:27:2: error: stray '#' in program
cout<<endl;
^
0_0_29042121_27132.cpp:27:8: error: stray '#' in program
cout<<endl;
^
0_0_29042121_27132.cpp:28:2: error: stray '#' in program
}
^
0_0_29042121_27132.cpp: In function 'int main()':
0_0_29042121_27132.cpp:6:3: error: lvalue required as unary '&' operand
char a[100];
^
0_0_29042121_27132.cpp:7:3: error: lvalue required as unary '&' operand
while(cin>>a)
^
0_0_29042121_27132.cpp:8:3: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:9:3: error: lvalue required as unary '&' operand
char max='a';
^
0_0_29042121_27132.cpp:9:9: error: lvalue required as unary '&' operand
char max='a';
^
0_0_29042121_27132.cpp:10:3: error: lvalue required as unary '&' operand
int i,n;
^
0_0_29042121_27132.cpp:10:9: error: lvalue required as unary '&' operand
int i,n;
^
0_0_29042121_27132.cpp:11:3: error: lvalue required as unary '&' operand
n=strlen(a);
^
0_0_29042121_27132.cpp:11:9: error: lvalue required as unary '&' operand
n=strlen(a);
^
0_0_29042121_27132.cpp:11:23: error: 'strlen' was not declared in this scope
n=strlen(a);
^
0_0_29042121_27132.cpp:12:3: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:12:9: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:13:3: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:13:9: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:14:3: error: lvalue required as unary '&' operand
if(a[i]>max)
^
0_0_29042121_27132.cpp:14:9: error: lvalue required as unary '&' operand
if(a[i]>max)
^
0_0_29042121_27132.cpp:14:15: error: lvalue required as unary '&' operand
if(a[i]>max)
^
0_0_29042121_27132.cpp:15:3: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:15:9: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:15:15: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:16:3: error: lvalue required as unary '&' operand
max=a[i];
^
0_0_29042121_27132.cpp:16:9: error: lvalue required as unary '&' operand
max=a[i];
^
0_0_29042121_27132.cpp:16:15: error: lvalue required as unary '&' operand
max=a[i];
^
0_0_29042121_27132.cpp:16:21: error: lvalue required as unary '&' operand
max=a[i];
^
0_0_29042121_27132.cpp:17:3: error: lvalue required as unary '&' operand
}
^
0_0_29042121_27132.cpp:17:9: error: lvalue required as unary '&' operand
}
^
0_0_29042121_27132.cpp:17:15: error: lvalue required as unary '&' operand
}
^
0_0_29042121_27132.cpp:18:3: error: lvalue required as unary '&' operand
}
^
0_0_29042121_27132.cpp:18:9: error: lvalue required as unary '&' operand
}
^
0_0_29042121_27132.cpp:19:3: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:19:9: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_29042121_27132.cpp:20:3: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:20:9: error: lvalue required as unary '&' operand
{
^
0_0_29042121_27132.cpp:21:3: error: lvalue required as unary '&' operand
cout<<a[i];
^
0_0_29042121_27132.cpp:21:9: error: lvalue required as unary '&' operand
cout<<a[i];
^
0_0_29042121_27132.cpp:21:15: error: lvalue required as unary '&' operand
cout<<a[i];
^
0_0_29042121_27132.cpp:22:3: error: lvalue required as unary '&' operand
if(a[i]>=max)
^
0_0_29042121_27132.cpp:22:9: error: lvalue required as unary '&' operand
if(a[i]>=max)
^
0_0_29042121_27132.cpp:22:15: error: lvalue required as unary '&' operand
if(a[i]>=max)
^
0_0_29042121_27132.cpp:23:3: error: lvalue required as unary '&' operand
|