Original Post
I am trying to make a simple blackjack game just for some practice. I have a simple issue with my game so far and I could use some help. In my current code I need the first to set up a randomizing variable (currently all I have is that you input a number and it moves on, as if you drew that). But even more importantly I can't seem to remember how to get my program to loop back around again. If you guys seen any other problems with my game so far please let me know: #include using namespace std; int main() { int score=0; int current=0; int add=0; int close; cout << "BLACKJACK \n"; if (current < 21) { cin >> add; current = current + add; cout << "your current number:" << current; cout << "\n"; if (current > 21) { cout << "You Lose"; } else if (current = 21) { cout << "You Win"; score = score + 1; } } //terminate the program cin >> close; cin.get(); }