0_0_21660299_9703.cpp: In function 'int main()':
0_0_21660299_9703.cpp:5:12: error: expected unqualified-id before 'int'
int cases,int n,a,b,c,sum;
^
0_0_21660299_9703.cpp:9:3: error: 'sum' was not declared in this scope
sum=0;
^
0_0_21660299_9703.cpp:10:15: error: 'n' was not declared in this scope
scanf("%d",&n);
^
0_0_21660299_9703.cpp:11:3: error: 'a' was not declared in this scope
a=floor(n/2.0);
^
0_0_21660299_9703.cpp:12:3: error: 'b' was not declared in this scope
b=floor((n-a)*2.0/3);
^
0_0_21660299_9703.cpp:13:3: error: 'c' was not declared in this scope
c=n-a-b;
^
|