Search:

Type: Posts; User: s1mmi

Search: Search took 0.20 seconds.

  1. Replies
    11
    Views
    1,124

    Re: Help with 2 Dimensional Arrays

    Can you show me how I can fill the board with 0s and 1s?
  2. Replies
    11
    Views
    1,124

    Re: Help with 2 Dimensional Arrays

    I understand what you are saying. Index are element - 1. I don't know how to go forward with filling the board with 0s and 1s in the 3x3 position. For example for each number of row and column such...
  3. Replies
    11
    Views
    1,124

    Re: Help with 2 Dimensional Arrays

    How do I randomly fill with 0s and 1s in the 3x3 board?
  4. Replies
    11
    Views
    1,124

    Re: Help with 2 Dimensional Arrays

    I am trying to display the board using JOptionPane and it is giving me an exception error - Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
  5. Replies
    11
    Views
    1,124

    Re: Help with 2 Dimensional Arrays

    I have declared to generate a random number and assign to each row and column of the 3x3 array. I'm not sure if the below portion of the code is correct.

    Random randomGenerator = new Random();
    ...
  6. Replies
    11
    Views
    1,124

    Help with 2 Dimensional Arrays

    I am trying to create a 3x3 board using 2 dimensional array that randomly fills 0s and 1s into the board and finds the rows, columns, and diagonals with all 1s.

    Please help!

    Thank you
  7. [SOLVED] Re: Help needed writing a program using JOptionPane

    This is what I have so far and I obviously know it's not correct at all. This is my very first time writing something like this JOptionPane.

    import javax.swing.JOptionPane;

    public class...
  8. [SOLVED] Help needed writing a program using JOptionPane

    Write a Java program that lets the user enter the loan amount and loan period in number of years and
    displays the monthly and total payments for each annual interest rate starting from 3.5% to 8%...
Results 1 to 8 of 8