0_0_23201436_17960.cpp: In function 'int main()':
0_0_23201436_17960.cpp:6:1: error: expected primary-expression before '?' token
??? int total,step,i,result=0;
^
0_0_23201436_17960.cpp:6:2: error: expected primary-expression before '?' token
??? int total,step,i,result=0;
^
0_0_23201436_17960.cpp:6:3: error: expected primary-expression before '?' token
??? int total,step,i,result=0;
^
0_0_23201436_17960.cpp:6:5: error: expected primary-expression before 'int'
??? int total,step,i,result=0;
^
0_0_23201436_17960.cpp:6:5: error: expected ':' before 'int'
0_0_23201436_17960.cpp:6:5: error: expected primary-expression before 'int'
0_0_23201436_17960.cpp:6:5: error: expected ':' before 'int'
0_0_23201436_17960.cpp:6:5: error: expected primary-expression before 'int'
0_0_23201436_17960.cpp:6:5: error: expected ':' before 'int'
0_0_23201436_17960.cpp:6:5: error: expected primary-expression before 'int'
0_0_23201436_17960.cpp:7:1: error: expected primary-expression before '?' token
?? cin>>total>>step;
^
0_0_23201436_17960.cpp:7:2: error: expected primary-expression before '?' token
?? cin>>total>>step;
^
0_0_23201436_17960.cpp:7:9: error: 'total' was not declared in this scope
?? cin>>total>>step;
^
0_0_23201436_17960.cpp:7:16: error: 'step' was not declared in this scope
?? cin>>total>>step;
^
0_0_23201436_17960.cpp:7:20: error: expected ':' before ';' token
?? cin>>total>>step;
^
0_0_23201436_17960.cpp:7:20: error: expected primary-expression before ';' token
0_0_23201436_17960.cpp:7:20: error: expected ':' before ';' token
0_0_23201436_17960.cpp:7:20: error: expected primary-expression before ';' token
0_0_23201436_17960.cpp:8:1: error: expected primary-expression before '?' token
??? for(i=2;i<=total;i++)
^
0_0_23201436_17960.cpp:8:2: error: expected primary-expression before '?' token
??? for(i=2;i<=total;i++)
^
0_0_23201436_17960.cpp:8:3: error: expected primary-expression before '?' token
??? for(i=2;i<=total;i++)
^
0_0_23201436_17960.cpp:8:5: error: expected primary-expression before 'for'
??? for(i=2;i<=total;i++)
^
0_0_23201436_17960.cpp:8:5: error: expected ':' before 'for'
0_0_23201436_17960.cpp:8:5: error: expected primary-expression before 'for'
0_0_23201436_17960.cpp:8:5: error: expected ':' before 'for'
0_0_23201436_17960.cpp:8:5: error: expected primary-expression before 'for'
0_0_23201436_17960.cpp:8:5: error: expected ':' before 'for'
0_0_23201436_17960.cpp:8:5: error: expected primary-expression before 'for'
0_0_23201436_17960.cpp:8:13: error: 'i' was not declared in this scope
??? for(i=2;i<=total;i++)
^
0_0_23201436_17960.cpp:12:1: error: expected primary-expression before '?' token
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:2: error: expected primary-expression before '?' token
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:3: error: expected primary-expression before '?' token
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:4: error: expected primary-expression before '?' token
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:30: error: 'result' was not declared in this scope
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:44: error: expected ':' before ';' token
???? cout<<"the winner is:"<<result+1<<endl;
^
0_0_23201436_17960.cpp:12:44: error: expected primary-expression before ';' token
0_0_23201436_17960.cpp:12:44: error: expected ':' before ';' token
0_0_23201436_17960.cpp:12:44: error: expected primary-expression before ';' token
0_0_23201436_17960.cpp:12:44: error: expected ':' before ';' token
0_0_23201436_17960.cpp:12:44: error: expected primary-expression before ';' token
0_0_23201436_17960.cpp:12:44: error: expected ':' before ';' token
0_0_23201436_17960.cpp:12:44: error: expected primary-expression before ';' token
|