Problem fibo
User Jinseo
Submission Time 2023-05-19 07:53:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:8:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | cin >> n;
| ^
| yn
fibo.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i == 0; i < n; i++)
| ^
fibo.cpp:13:25: error: expected ‘;’ before ‘nextnumber’
13 | cout << number0 << " "
| ^
| ;
14 | nextnumber = number0 + number1;
| ~~~~~~~~~~
fibo.cpp:16:23: error: expected ‘;’ before ‘}’ token
16 | number1 = nextnumber
| ^
| ;
17 | }
| ~