Problem fibo
User Tez
Submission Time 2023-12-28 15:37:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:6:19: error: expected ‘;’ before ‘<=’ token
6 | for (int i = 1, i<=N, i++) {
| ^~
| ;
fibo.cpp:6:19: error: expected primary-expression before ‘<=’ token
6 | for (int i = 1, i<=N, i++) {
| ^~
fibo.cpp:6:27: error: expected ‘;’ before ‘)’ token
6 | for (int i = 1, i<=N, i++) {
| ^
| ;
fibo.cpp:13:3: error: ‘NextFibbTerms’ was not declared in this scope; did you mean ‘FibbTerm2’?
13 | NextFibbTerms = FibbTerm1 + FibbTerm2;
| ^~~~~~~~~~~~~
| FibbTerm2