//this is the example code of the handout v = 10; i = 0; while i <= v do print i*i; //print the square of i if i == v/2 then //is i the half of v? print newline; //yes else print "--"; //no endif i = i+1; endwhile print newline; print "end of execution"; print newline;