the toString() method worked but all I am getting back is 0 from the arrays.
Something wrong is happening between putting the occurrence count into the array and returning or using the array. I...
Type: Posts; User: sketch_flygirl
the toString() method worked but all I am getting back is 0 from the arrays.
Something wrong is happening between putting the occurrence count into the array and returning or using the array. I...
The methods (other than main) are posed to count the occurrence of a char in the arrays I created. When i return the count of occurrence of a variable to the main, it reads the number. But when I...
Made it short. :)>-
I got the loop to work!!! Thanks for the help!!!
I am having problems in getting my program to return an array that contains counters to my main method.
I have four methods: main, countBase, findMost, and computeAvg.
For findMost and...
Ok, I know the program underneath won't allow me to put the text line by line in order.
//Read .txt file
File inFile = new File ("seq.txt");
Scanner in = new...
I wonder will this work?
//Read .txt file
File inFile = new File ("seq.txt");
Scanner in = new Scanner(inFile);
while(in.hasNext())
{
arrayDNA1[counter] = in.nextChar();
I really don't understand. I for some reason am good at arrays if input but reading from text...I have no idea what the heck I am doing. I still have to analysis the arrays in other methods.
So it will look somethin' like this right?
import java.util.*;
import java.io.*;
public class monroylab6
{
//Read scanner for public class
static Scanner console = new...
I am having a problem...I get arrays but when I have to read a line by line text with letters I don't understand how to place the letters in four different array.
Import java.util*;
import...
thanks! XD
called Sudoku
Write the pseudocode of the algorithm that does the following:
* it takes a 9x9 matrix filled with numbers from 0 to 9: 0s stand for a missing sudoku number (a number to be...
Thank you, it worked! XD
I am new to java programming and have bad programming writing skills and in great urge of the need of help.
I have a program with 6 methods, one method being the static void main
public class...