This file contains hidden or 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
int[] arr = new int[140]; | |
//int alpha=0; | |
int w = 10; | |
int h = 400; | |
boolean sorting = false; | |
void setup(){ | |
size(1400,400); | |
setArr(); | |
frameRate(10); |
This file contains hidden or 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
import java.util.*; | |
public class password | |
{ | |
public password() | |
{ | |
Scanner sc = new Scanner(System.in); |
This file contains hidden or 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
import java.util.*; | |
public class FunPrimes | |
{ | |
public FunPrimes() | |
{ | |
LinkedList list = new LinkedList(); | |
Scanner sc = new Scanner(System.in); | |
boolean playing = true; |
This file contains hidden or 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
import java.util.*; | |
public class shifting | |
{ | |
public shifting() | |
{ | |
Scanner sc = new Scanner(System.in); | |
int[] sample = {1,2,3,4,5}; | |
System.out.println("Array: " + Arrays.toString(sample)); | |
System.out.println("Shift by how many?"); | |
int shiftInt = sc.nextInt(); |
NewerOlder