Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.84K
~453 People Reached
Favorite Forums
Favorite Tags
c++ x 1
c x 1

1 Posted Topic

Member Avatar for ota1it1iuss

You are misstyping the cout line before the loop. Pay attention to braces and parentheses you have used. Here is your code corrected : [code=C++] #include <iostream> using namespace std; int main() { int f[29]; int i; f[0] = 0; f[1] = 1; cout<<f[0]<<endl<<f[1]<<endl; for (int i = 2; i …

Member Avatar for shabnamapi
0
453

The End.