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?
Re evaluate where you have your "{" and "}" brackets placed. Remeber that "{" should be in the beginning of something and "}" at the end.
Topic archived. No new replies allowed.