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 picamera | |
| import picamera.array | |
| from sense_hat import SenseHat | |
| import time | |
| baseImage = [] | |
| nextImage = [] | |
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
| var mic, fft; | |
| var x = 100; | |
| var y = 200; | |
| var w = 20; | |
| var h = 100; | |
| function setup() { | |
| createCanvas(450,400); | |
| noFill(); | |
| mic = new p5.AudioIn(); |
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
| public class HelloWorld { | |
| public static void main(String[] args) { | |
| // Prints "Hello, World" to the terminal window. | |
| System.out.println("Hello, World"); | |
| } | |
| } |
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.*; | |
| import java.io.*; | |
| import java.text.*; | |
| public class ReadFromFile { | |
| String fc = ""; |
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
| s:Bobby Lee Jones:05-11-1999:2020~ | |
| f:Matthew James Harris:05-11-1979:CSE~ | |
| s:Jane erica Lee:04-11-2004:2022~ | |
| s:Sarah erica Mccarthy:04-11-2006:2024~ | |
| s:Tony Lee Tony:09-11-1999:2020~ | |
| f:Paul Merchant:01-11-1976:History~ | |
| f:Thomas Andrew Newtown:05-11-1998:Math~ |
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
| public class Faculty | |
| { | |
| String dob; | |
| String fullName; | |
| final static int YEAR_FOUNDED = 1785; | |
| public Faculty(){ | |
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.Scanner; | |
| public class EARunner | |
| { | |
| public static void main (String [] args){ | |
| Student s = null; | |
| Faculty f = new Faculty(); | |
| 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
| public class Student | |
| { | |
| String dob; | |
| String fullName; | |
| int gYear; | |
| final static int YEAR_FOUNDED = 1785; | |
| public Student(){ | |
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
| Faculty[] fac = new Faculty[10]; | |
| String[] fname = {"Arjun","Robert","Peter","Maya","Nikhil","Shane","Molly","Neera","Jackson","Chris", "Michael"}; | |
| String[] lname = {"Bhamra","Corrato","Dugery","Gambhir","Kakarla","Lawler","Limaye","Raychaudhuri","Tuma","Wells", "Zhou"}; | |
| boolean[] used = new boolean[11]; | |
| Scanner sc=new Scanner(System.in); | |
| System.out.println("How many per group? "); | |
| int count = sc.nextInt(); | |
| String[] groups = new String[fname.length/count]; |