// General form: type variablename = intial_value ; // These first two are variable declaratons float x; float y = 8; // This assignment sets an initial value for y // This is an assignment x = 15; // This next line calls the function named println println(x/y); String message = "Does this work now?"; println(message); println("Here's the message. It's not stored in a variable"); if(x > 10){ // { and } denote the "then" for the if println("X is larger than 10!"); if(y < 100){ println("X is larger than 10 and y is smaller than 100"); } } float pool_depth = 8, pool_length = 20, pool_width = 10; float pool_volume = pool_depth * pool_length * pool_width; float pool_gallons = pool_volume * 7.48; println("pool_galons = " + pool_gallons); float gallons_per_day = 7.5; float days = pool_gallons / gallons_per_day; println("It will take the horse " + days + " days to empty the pool"); float month_empty = (pool_gallons/30) / gallons_per_day; println("To empty your pool in a month, you need " + month_empty + " horses"); size(1000, 1000); line(100, 100, 500, 500);