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

Compile Error

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