Thank you for the response.
New to writing code. I was able to work on it some more and found some of my issues. I am now at the point of adding the computer deal into game and would like to clean up main function so I have as little as possible there. I do think I have an issue with the reset totals once and a while but all is looking better. This is the following to-do list. Plus making the console look good.
a. Make computer side
b. Deal card to player //print console message
c. Deal card to computer //print console message
d. Deal card to player //print console message
e. Deal card to computer (hidden) //print x instead of # and suit
f. Display results //Print cards and show the totaled results
g. Ask if player would like to hit on cards until bust or 5 cards in total
(5 cards maximum in total, 2 originals + 3 possible hits)
h. Show totals at every hit
I. Have computer determine if it would hit or stay //house hits at 16 and stays at 17
(5 cards maximum in total, 2 originals + 3 possible hits)
j. Show totals on every computer hit
k. Determine who won or lost /Print console message
l. Allow player to play again //Loop was setup in previous code
And finally
Add a variable that gives the player a starting amount of chips(Cash)
add the functionality to bet before each hand dealt.
After each hand completed, update the chip count appropriately based on the bet and results of game //
(bets pays 1:1, so a $50 bet wins $100 ( $100-50 (original bet)=amountwon0