C++ dice roll need help

This is a discussion on C++ dice roll need help within the C++ Programming forums, part of the General Programming Boards category; I need a program that can simulate two dice rolling and then add the sum up together. You enter how ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    8

    C++ dice roll need help

    I need a program that can simulate two dice rolling and then add the sum up together. You enter how many times you roll the dice and then it displays how many times your combined roll is a 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. Please help quick it is due tomorrow and I have no clue how to program C++.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Perhaps you should have started your homework earlier if you don't even know C++ ...



    We have a homework policy. It says: Do your own homework. If you've got a specific problem, you can ask.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Designing Data Structures for Dice Rolling
    By drunken_scot in forum C Programming
    Replies: 6
    Last Post: 02-27-2009, 12:01 AM
  2. Dice Simualtion
    By sillyman in forum C Programming
    Replies: 2
    Last Post: 04-22-2008, 01:43 PM
  3. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 06:58 PM
  4. Dice Rolling Program help
    By courtesan in forum C Programming
    Replies: 3
    Last Post: 08-17-2005, 03:14 PM
  5. How 'far off' is this code?
    By tol in forum C++ Programming
    Replies: 7
    Last Post: 07-28-2005, 01:20 PM

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