This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package askhsh8; | |
import java.util.Scanner; | |
public class Askhsh8 { | |
public static void main(String[] args) { | |
int Xpos, Opos; | |
char pos[] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'}; | |
System.out.println("INITIATING GAME..."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package askhsh7; | |
import java.util.Scanner; | |
import java.util.ArrayList; | |
public class Askhsh7 { | |
public void static main(String[] args) { | |
int[] passwords = {1, 2, 3, 4, 5, 6}; | |
int[] quantities = {22, 5, 2, 4, 80, 1}; |