Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main () {
- system("COLOR f0");
- double x;
- double x = 7331;
- do {
- cout <<"Guess a number."<<endl;
- cin >> x;
- if (x == 7331);
- cout <<"Congratulations, You won. \n"<<"Username: Sup4991@aol.com \n"<<"Password:Ilikefish5 \n"<<endl;
- else if(x > 7331);
- cout <<"Fail, Lower."<<endl;
- else if(x < 7331);
- cout <<"Fail, Higher."<<endl;
- else
- cout <<"Congratulations, You won. \n"<<"Username: Sup4991@aol.com \n"<<"Password:Ilikefish5 \n"<<endl;
- }
- while ( x !=7331);
- system("PAUSE");
- system("cls");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement