Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Computerdude77 committed Feb 26, 2020
1 parent 9b7ff83 commit a431185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion number-guessing-game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main()
cin.clear();
cin.ignore(256,'\n');
cin >> x;
while (x = num){
while (x == num){
goto HACK;
}}
cout << "Guess again." << endl;
Expand Down

0 comments on commit a431185

Please sign in to comment.