Search:

Type: Posts; User: asundar

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    1,424

    Re: Bubble Sort Help

    I was able to see my mistake; it was that I iterated n from 0 to out, instead of out-1 because arrays start at 0. I can still post my code, if you would like me to so I can help others that make the...
  2. Replies
    4
    Views
    1,424

    Re: Bubble Sort Help

    Sure thing:


    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package array;

    /**
  3. Replies
    4
    Views
    1,424

    Bubble Sort Help

    Hi everyone,

    I'm trying to do a bubble sort where it takes the largest element and takes it to the right. It works for the most part, but then for some reason the right-most element (after the...
  4. Replies
    2
    Views
    2,038

    Re: Help with Fast Matrix Exponentiation

    Ignore this, I found out what had happened from someone in my class about two hours later. Sorry for prematurely posting.
  5. Re: Java program inputting month name and outputting month number and number of days

    The problem is that monthName is an int, as you inputed. Then, with the switch/case method, you enter it as a string. It has to be one or the other, but not both. Personally, what I did was that I...
  6. Replies
    2
    Views
    2,038

    Help with Fast Matrix Exponentiation

    hey everyone,

    I feel like I am close to the answer, but I'm just missing something little. What I'm supposed to do, basically, is come up with a program that allows me to increase matrices...
Results 1 to 6 of 6