Problem | democracy |
---|---|
User | NsNassCode |
Submission Time | 2024-06-21 13:22:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
democracy.cpp: In function ‘int main()’:
democracy.cpp:12:3: error: ‘total’ was not declared in this scope; did you mean ‘Total’?
12 | total= x.total;
| ^~~~~
| Total
democracy.cpp:12:12: error: request for member ‘total’ in ‘x’, which is of non-class type ‘int’
12 | total= x.total;
| ^~~~~
democracy.cpp:17:10: error: ‘total’ was not declared in this scope; did you mean ‘Total’?
17 | }cout <<total/N;
| ^~~~~
| Total