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...
Type: Posts; User: asundar
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...
Sure thing:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package array;
/**
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...
Ignore this, I found out what had happened from someone in my class about two hours later. Sorry for prematurely posting.
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...
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...