I need a bit of help

#include <iostream>

using namespace std;

int main()
{
int i;
int secretnumber;
int guess[256];
i = 0;
secretnumber = 873;
}


{
do cout << "Im Bored, wanna play a game?" <<;
cout << "Im thinking of a numer you have 10 seconds to guess" <<;
cout << "GO!"
cin.getline (guess[256]);


if (guess[256] = secretnumber);

cout << "Holy Crap how did you know?"; << endl;


else (guess[256] >< secretnumber);

cout << "try agian" <<;
cin.getline (guess[256]);
for ( else >< secretnumber)
}

while (i <= 10)
{
cout << i << endl;
i++;
}

cout << "try agin" << endl;

return 0;
}

this is the code I have been working on its not done but i wnat to know if im typing it right can someone please clarify?
Have you tried compiling it?
yes it doesn't work
About two third of the code is outside the scope of Main(). You should fix that.
Topic archived. No new replies allowed.