Write a statement that adds functionality to a programs close-window button such that when the close-window button

Question:

Write a statement that adds functionality to a program’s close-window button such that when the close-window button is clicked, it causes the program to terminate.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: