Created
September 26, 2018 17:26
-
-
Save memish/844dd29e9d1c97ac5666f720aa5515f6 to your computer and use it in GitHub Desktop.
Practice Arrays
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
| double[] phila = {2.85,6.02,4.74,3.94,5.21,3.34,3.06,4.11,8.35}; | |
| double[] seattle = {8.12,2.16,2.44,5.69,0.12,0.63,0.05,0.2,0.98}; | |
| double[] sandiego = {2.28,2.04,2.26,0.75,0.20,0.09,0.03,0.09,0.21}; | |
| double philaTot = 0; | |
| double seattleTot = 0; | |
| double sdTot = 0; | |
| int space = 40; | |
| void setup(){ | |
| size(600,400); | |
| } | |
| void draw(){ | |
| background(0); | |
| fill(255,0,0); | |
| int sx = 20; | |
| int sy = 200; | |
| fill(255); | |
| } | |
| void mousePressed() { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment