We werent taught array list or shuffle yet. I learned a bit of array list on my own spare time
but yea not really that well, but anyways camel-man's method works with a simple while loop
Type: Posts; User: hiya54
We werent taught array list or shuffle yet. I learned a bit of array list on my own spare time
but yea not really that well, but anyways camel-man's method works with a simple while loop
So do i need a if loop in the nested for loop? I know i had to do something like that i just didnt figure
how to do it yet
So im making this ghost game where i display an 8x8 filled with 0s and a randomly generator five 1s in there
I can get it to display 0s and add 1s, however sometimes the 1s that are randomly...
Thank you so much for your help! I will definitely take those suggestions and see what i can do with them.
package whileLoops;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
import java.util.ArrayList;
public class testclass {
// stores the money values and...
I was considering doing a loop or method, it made sense to not have a chunk of code in main, but i havent learned arraylist yet, i just picked it up last night on the web, as for putting it in a...
package whileLoops;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
import java.util.ArrayList;
public class testclass {
public static ArrayList listTest = new...
package whileLoops;
import java.util.Scanner;
import java.util.Random;
import java.util.StringTokenizer;
public class DealOrNoDeal {
public static void Instructions(){
...