Predict the output of this program by writing out what would appear in the message window.
void setup() {
println("a");
function1();
println("b");
}
void draw() {
println( "c" );
function2();
println( "d" );
function1();
noLoop();
}
void function1() {
println( "e" );
println( "f" );
}
void function2() {
println( "g" );
function1();
println( "h" );
}
Answer:
a e f b c g e f h d e f








