Problem fibo
User KanavKarmakar
Submission Time 2023-09-19 11:18:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:5:3: error: expected initializer before ‘cin’
5 | cin>>number;
| ^~~
fibo.cpp:7:12: error: ‘number’ was not declared in this scope
7 | for(i=2;i<number;++i) //loop starts from 2 because 0 and 1 are already printed
| ^~~~~~