Hi im trying to make a for loop in Xcode
Please look at code below, when i run it all i get is
__________________________________
[Session started at 2009-05-26 12:09:18 -0400.]
9
The Debugger has exited with status 0.
___________________________________
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int i;
for (i=0; i<9; i++);
{
cout << i;
}
}
________________
Thank you!
Please look at code below, when i run it all i get is
__________________________________
[Session started at 2009-05-26 12:09:18 -0400.]
9
The Debugger has exited with status 0.
___________________________________
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int i;
for (i=0; i<9; i++);
{
cout << i;
}
}
________________
Thank you!