This is a coding tutorial sample to show students how to code the calculation of the area and perimeter of a rectangle and how to use sub-program to draw the rectangle. Press the Green Flag for the calculation. Press Spacebar to draw the shape. Press the "See inside" blue button on the top right to see the code.