Assignment statements, one instruction event handlers

This assignment tests your ability to write programs with assignment statements in one-instruction event handlers.

Begin by carefully reading the handout on assignment statements. You might warm up by writing the bilingual greeting program used there, but you do not have to turn it in.

Write a program that does the same thing as this program, which uses assignment statements to move a label up or down by assigning different values to its top property.

When your program is exactly the same as mine, print a screen shot and listing and turn them in.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.