diff --git a/ReturningValues/ReturningValues.pde b/ReturningValues/ReturningValues.pde index 8b13789..f14c851 100644 --- a/ReturningValues/ReturningValues.pde +++ b/ReturningValues/ReturningValues.pde @@ -1 +1,14 @@ +float a, b, c; +void setup() { +} +void draw() { + a = random(100); + b = random(100); + c = random(100); + println(add(a, b, c)); +} +float add(float a, float b, float c) { + float x = a + b + c; + return x; +} \ No newline at end of file diff --git a/ReturningValues/data/jshih.jpg b/ReturningValues/data/jshih.jpg new file mode 100644 index 0000000..43a0fa8 Binary files /dev/null and b/ReturningValues/data/jshih.jpg differ