#include float base = 50.36; float height = 45.336; float hyp; void setup() { Serial.begin(9600); Serial.println("Arduino Pythagoras Calculator:"); Serial.print("n"); Serial.print("base = "); Serial.println(base); Serial.print("height = "); Serial.print(height); Serial.print("n"); hyp=sqrt(sq(base) + sq(height)); Serial.print("The hypotenuse is: "); Serial.print(hyp); } void loop() { // we need this to be here even though its empty }