Thread: Blackjack And Dice Program

  1. #1
    Registered User
    Join Date
    May 2010

    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
    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