Search:

Type: Posts; User: vanDarg

Search: Search took 0.45 seconds.

  1. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    Thanks aussiemcgr you were a huge help. I have not been introduced yet to dynamic data structures just yet (I'm sure it will be this semester) so I think for now I am just going to loop the array...
  2. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    Ok I think I got it. Did you do this a different way? And is there a way to have an infinite amount of random numbers? Otherwise I can just choose a larger number for the size of the array.

    ...
  3. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    OK I am having trouble figuring out where the arrays come in. I had them set up but I ended up just using the loop counters instead:


    import java.util.Random;


    public class dicePrint {
    ...
  4. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    Ok, I understand the concept of what needs to be done here. I understand that it will print from left to right, and that I need to use print so that it doesn't automatically start a new line. I also...
  5. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    Output:

    -------
    |* *|
    | |
    |* *|
    -------

    -------
    |* *|
  6. Replies
    12
    Views
    2,515

    [SOLVED] Re: Help printing random dice

    Thanks a ton! This is actually for a class so working through it myself will be much more beneficial...I thought it may have something to do with a nested loop (rows and cols). I will continue to...
  7. Replies
    12
    Views
    2,515

    [SOLVED] Help printing random dice

    I started school for CS last semester and it is awesome. I have been able to get through most of the work with little help. I have a question (which I hope is simple) about printing out five random...
Results 1 to 7 of 7