Help me plz with the following problem.

This is a discussion on Help me plz with the following problem. within the C Programming forums, part of the General Programming Boards category; I must use "rand" to roll two dices. The sum of the two values should then be calculated. The dice ...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    1

    Help me plz with the following problem.

    I must use "rand" to roll two dices. The sum of the two values should then be calculated. The dice should be rolled 36,000 times. Then I must use tally marks to count the times that each possible sum appears.
    Attached Files Attached Files
    • File Type: c p4-3.c (308 Bytes, 56 views)

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Here's a thought:

    No one wants to read some random (pun not intended) code and try and figure out what the problem is. If there is a problem with your code, then tell us what it is doing wrong, or what it isn't doing, and what errors, if any, you are getting. No one wants to just download and compile some random crap and debug it.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 05:24 PM
  2. plz help me with run problem
    By onlinegeek in forum C++ Programming
    Replies: 9
    Last Post: 12-14-2005, 10:46 PM
  3. Replies: 5
    Last Post: 11-07-2005, 10:34 PM
  4. compiling problem! plz help!
    By aaroroge in forum C++ Programming
    Replies: 9
    Last Post: 10-24-2005, 09:57 PM
  5. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM

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