Problem fibo
User griuehiruhigero
Submission Time 2023-06-19 20:04:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> N;
| ^~~
fibo.cpp:8:4: error: ‘cout’ was not declared in this scope
8 | cout << "\n" << f1;
| ^~~~
fibo.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | else if(i == 2)
| ^~~~
fibo.cpp:11:4: error: ‘cout’ was not declared in this scope
11 | cout << "\n" << f2;
| ^~~~
fibo.cpp:13:3: error: ‘else’ without a previous ‘if’
13 | else
| ^~~~
fibo.cpp:18:3: error: ‘cout’ was not declared in this scope
18 | cout << "\n" << f;
| ^~~~