10 void setup() // run once, when the sketch starts
12 Serial.begin(9600); // set up Serial library at 9600 bps
14 Serial.println("Here is some math: ");
23 Serial.print("a + b = "); // add
24 Serial.println(a + b);
26 Serial.print("a * c = "); // multiply
27 Serial.println(a * c);
29 Serial.print("c / b = "); // divide
30 Serial.println(c / b);
32 Serial.print("b - c = "); // subtract
33 Serial.println(b - c);
35 Serial.print("b modulo a = "); // Calculates the remainder when one integer is divided by another.
36 Serial.println(b % a);
38 Serial.print("8 modulo 3 = "); // Calculates the remainder when one integer is divided by another.
39 Serial.println(8 % 3);
42 void loop() // we need this to be here even though its empty