Problem parallelogramisation
User AaravRastogi
Submission Time 2025-12-10 14:53:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:23:9: error: ‘else’ without a previous ‘if’
23 | } else if (c == 3) {
| ^~~~
parallelogramisation.cpp:23:18: error: ‘c’ was not declared in this scope
23 | } else if (c == 3) {
| ^
parallelogramisation.cpp: At global scope:
parallelogramisation.cpp:28:4: error: expected declaration before ‘}’ token
28 | }
| ^
parallelogramisation.cpp:31:4: error: expected unqualified-id before ‘return’
31 | return 0;
| ^~~~~~
parallelogramisation.cpp:32:1: error: expected declaration before ‘}’ token
32 | }
| ^