0_0_15547985_32095.cpp: In function 'int main()':
0_0_15547985_32095.cpp:15:1: error: expected ';' before 'if'
if(t%2==0)
^
0_0_15547985_32095.cpp:17:1: error: 'else' without a previous 'if'
else
^
0_0_15547985_32095.cpp:18:7: error: expected ';' before ':' token
sum+=x:
^
0_0_15547985_32095.cpp: At global scope:
0_0_15547985_32095.cpp:23:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_15547985_32095.cpp:24:1: error: expected declaration before '}' token
}
^
|