Blackjack And Dice Program

This is a discussion on Blackjack And Dice Program within the C++ Programming forums, part of the General Programming Boards category; Hii I need help I have to write 2 c program but i dont have any ideas can anybody help ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Blackjack And Dice Program

    Hii I need help I have to write 2 c program but i dont have any ideas can anybody help me


    1. Throw dice 10 times. rand() function will decide the numbers that comes from throwing dice. In one array you will store the numbers and print the array from smallest to largest.

    2. Play 21 with three players. The program should store the numbers of the players in three different arrays and when one of the players passes 21 then the program should tell
    the player that he passed 21 and out of the game. The numbers should be decided by rand (). the one who has the number in total closer to 21 wins the game.

  2. #2
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    I hope you don't expect us to do this for you. Show us what you have done so far.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21