I would personally look at other BlackJack code examples and see how they are done. You can then use this as a base to create your own program.
...